How to properly restart all cronicle servers
Hello, i have a question about properly restart cronicle servers.
This is need for reload new SSL certificate/key in all cronicle servers(master,backup,slaves). But when I use bin/control.sh restart some of my tasks report about "shutdown unexpectedly"
May be have a solution by api for waiting task, then restart, or change all currently running tasks to uninterruptable mode?
Thank You.
Hey there,
I'm sorry to report that there is currently no way to do this. Cronicle is designed to abort all jobs on shutdown, unless they are detached events. There's also no way to convert a running job to detached either, sorry.
Apologies for this. I will try to come up with something better in the big v2.0 rewrite (coming next year). In the meantime, I will leave this issue open.
@jhuckaby Since this issue has been open over a year now, would it be reasonable to ask for a graceful shutdown option that lets all jobs complete, and any continuous/chain reaction jobs not execute their chains, and not start any scheduled jobs that would have started after the graceful shutdown has been initiated?
Edited to add: Looks like #243 is asking for exactly this.