Issue 10793

Title
Add graceful shutdown for trytond-cron
Priority
feature
Status
testing
Nosy list
pokoli, rvong
Assigned to
rvong
Keywords
review

Created on 2021-09-25.18:27:49 by rvong, last changed 2 months ago by pokoli.

Messages

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2021-09-27.09:18:06

For the next time could you please set the review number in the reviews field. Thanks

Author: [hidden] (rvong)
Date: 2021-09-26.03:02:57
Author: [hidden] (rvong)
Date: 2021-09-25.18:27:48

I propose add a feature to let trytond-cron shutdown gracefully and not abruptly upon receiving a SIGTERM. This is a harmless feature that allows the server finish the current task when possible to reduce errors or interrupted tasks.

The strategy is just add a few lines to trytond.cron to handle the SIGTERM.

History
Date User Action Args
2021-09-27 09:18:06pokolisetcomponent: + trytond
keyword: + review
messages: + msg70425
nosy: + pokoli
reviews: 375551002
2021-09-26 03:02:57rvongsetmessages: + msg70394
2021-09-25 18:27:49rvongcreate

Showing 10 items. Show all history (warning: this could be VERY long)