Hello,
My Fecthmail scheduler runs in background but does not update next execution date. When I try to change date manually, It gives me error.
This cron task is currently being executed and may not be modified, please try again in a few minutes
Traceback (most recent call last):
File "/opt/openerp-7/openerp/netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp-7/openerp/service/web_services.py", line 626, in dispatch
res = fn(db, uid, params)
File "/opt/openerp-7/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, *kw or {})
File "/opt/openerp-7/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, args, *kwargs)
File "/opt/openerp-7/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, args, *kw)
File "/opt/openerp-7/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, args, *kw)
File "/opt/openerp-7/openerp/addons/base/ir/ir_cron.py", line 271, in write
self._try_lock(cr, uid, ids, context)
File "/opt/openerp-7/openerp/addons/base/ir/ir_cron.py", line 263, in _try_lock
_("This cron task is currently being executed and may not be modified, "
except_osv: (u'Record cannot be modified right now', u'This cron task is currently being executed and may not be modified, please try again in a few minutes')
I tried to change Next Execution date by restarting OpenERP server, but it didn't work.
It works when I restart Postgres service.
Scheduler gets stuck after few days and I have to restart Postgres service. Its interval is 10 minutes. Other schedulers work fine except this and I am not using gunicorn.
I am not able to figure out the problem whether it is OpenERP side or at Postgres side.
Any solution?