To run cron jobs for an Odoo deployment a WSGI application requires
a classical Odoo (run via odoo.py) should connect to the database in which cron jobs have to be run (via odoo.py -d) And it should not be exposed to the network.
To ensure cron runners are not network-accessible, it is possible to disable the built-in HTTP server entirely with odoo.py --no-xmlrpc or setting xmlrpc = False in the configuration file.
Note- Odoo provides the base for a WSGI launcher script as openerp-wsgi.py. That script should be customized to correctly set the configuration directly in Odoo.
0 Comment(s)