← Back to team overview

openerp-india team mailing list archive

[Bug 1112874] [NEW] wsgi server via gunicorn does not start cron scheduler

 

Public bug reported:

When configuring OpenERP to start as a WSGI service under gunicorn, the
scheduler is not started.

To start the scheduler, apply the following patch to openobject-server:

--- service/__init__.py~	2013-01-31 22:02:49.000000000 +0100
+++ service/__init__.py	2013-02-01 21:17:01.000000000 +0100
@@ -79,6 +79,8 @@
     openerp.osv.osv.start_object_proxy()
     # Export (for RPC) services.
     web_services.start_service()
+    # Start the main cron thread.
+    cron.start_service()
 
     load_server_wide_modules()
     start_internal_done = True

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1112874

Title:
  wsgi server via gunicorn does not start cron scheduler

Status in OpenERP Server:
  New

Bug description:
  When configuring OpenERP to start as a WSGI service under gunicorn,
  the scheduler is not started.

  To start the scheduler, apply the following patch to openobject-
  server:

  --- service/__init__.py~	2013-01-31 22:02:49.000000000 +0100
  +++ service/__init__.py	2013-02-01 21:17:01.000000000 +0100
  @@ -79,6 +79,8 @@
       openerp.osv.osv.start_object_proxy()
       # Export (for RPC) services.
       web_services.start_service()
  +    # Start the main cron thread.
  +    cron.start_service()
   
       load_server_wide_modules()
       start_internal_done = True

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1112874/+subscriptions


Follow ups

References