Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Fetchmail Service scheduler not updating Next Execution Date

By
Michael Pol
on 4/3/14, 3:42 AM 1,570 views

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?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/3/14, 3:42 AM
Seen: 1570 times
Last updated: 3/16/15, 8:10 AM