I was wandering if upon shutdown, the server performs a graceful shutdown? For example, I have trytond running as a systemd service. It is configured as a target, so that when main server is started, it starts the cron and workers. So what if the cron is in the middle of a scheduled task and we issue a “stop” to trytond’s systemd service, would the cron server stops abruptly or will it finish processing the task before stopping?
I have a suspicion that it stops abruptly, because I noticed some very rare unexpected results happening in my scheduled tasks, and I can’t find why, but I suspect they may be happening when the server restarts.