Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
22611 Переглядів

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 ?

Аватар
Відмінити
Найкраща відповідь

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

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 ?

Are you working under Linux or Windows ?

Автор

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

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

Related Posts Відповіді Переглядів Дія
0
бер. 15
4850
1
бер. 24
2235
1
лип. 20
7650
0
лист. 17
4029
1
січ. 16
4152