[FIX] website_membership support negative ids
[odoo/odoo.git] / doc / commands.rst
1 .. _commands:
2
3 Available commands
4 ==================
5
6 This page explain some of the available ``oe`` commands. For an overview about
7 ``oe``, see :doc:`openerp-command`.
8
9 Keep in mind that ``oe --help`` and ``oe <command> --help`` already give a lot
10 of information about the commands and their options and flags.
11
12 ``web``
13 -------
14
15 The ``web`` command is used to create a single OpenERP server process to handle
16 regular HTTP requests and XML-RPC requests. It is possible to execute such
17 process multiple times, possibly on different machines.
18
19 It is possible to chose the ``--threaded`` or ``--gevent`` flags. It is
20 recommanded to use ``--threaded`` only when running a single process.
21 ``--gevent`` is experimental; it is planned to use it for the embedded chat
22 feature.
23
24 Example invocation::
25
26   > oe web --addons ../../addons/trunk:../../web/trunk/addons --threaded
27
28 ``cron``
29 --------
30
31 The ``cron`` command is used to create a single OpenERP process to execute
32 so-called cron jobs, also called scheduled tasks in the OpenERP interface. As
33 for the ``web`` command, multiple cron processes can be run side by side.
34
35 It is necessary to specify on the command-line which database need to be
36 watched by the cron process with the ``--database`` option.
37
38 Example invocation::
39
40   > oe cron --addons ../../addons/trunk:../../web/trunk/addons --database production