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.

0

Cancel/Stop running schedule action ?

By
Omid Kosari
on 3/16/14, 7:24 AM 2,048 views

I have a schedule task which takes more than 24 hours to complete and the "Repeat Missed" is checked so the task is always running . Even restarting the OpenERP does not help because right after starting the service , the task starts again . Is there any way or workaround to force the schedule task to stop to allow me to edit it ?

0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 3/16/14, 9:39 AM

Hi;

If you can login to your OpenERP instance, go under, Settings ---> Technical ----> Scheduler ----> Scheduled Actions: find your action (your scheduled Task) and edit it ( Uncheck the field Active), save your change.

If you can't login to OpenERP instance, use a tool like "pgAdmin III" to connect to your Database, search for the Column Active (Boolean) in the Table ir_cron, and change it's value to FALSE (for the related action), save your change.

Restart the service: open a console and type "sudo service openerp restart" and give the password.

Thanks . First way is impossible because a popup shows that you could not change the schedule task while running . Second way needs service openerp restart . Is there a way without need to restart service ? Thanks

Omid Kosari
on 3/16/14, 9:59 AM

What do you mean by "Second way needs service restart" ? Have you accessed the ir_cron table and changed the value of Active from TRUE to False ?

Med Said BARA
on 3/16/14, 10:30 AM

Are you working under Linux or Windows ?

Med Said BARA
on 3/16/14, 10:33 AM

Yes and after that the schedule task which started 12 hours ago is still running . After openerp restart it should stop .

Omid Kosari
on 3/16/14, 10:34 AM

Ubuntu Linux

Omid Kosari
on 3/16/14, 10:35 AM

Restart the server: "sudo service openerp restart" and give the password.

Med Said BARA
on 3/16/14, 10:42 AM

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

1 follower(s)

Stats

Asked: 3/16/14, 7:24 AM
Seen: 2048 times
Last updated: 8/23/16, 5:08 PM