jhuckaby / Cronicle

A simple, distributed task scheduler and runner with a web based UI.
http://cronicle.net
Other
3.71k stars 384 forks source link

Enhancement -- Sleep a scheduled job #811

Open P3AdminAccount opened 14 hours ago

P3AdminAccount commented 14 hours ago

Summary

The ability to 'sleep' (not run) a job for a certain duration (hr/mins) or to a specific date/time with the ability to turn the sleep off.

If you have scheduled jobs that you don't want to run for a specific period because of some underlying issue.

For example: Let's say you have several jobs that import data from another system. Now let's say that the system is down for a specified maintenance window for an upgrade. You could toggle the jobs from active to not-active, but let's say you want to automatically resume them being scheduled after the maintenance window because the window ends at an inconvenient time and you don't want to get up in the middle of the night to click some checkboxes. Also, the ability to stop the sleep mode if the maintenance window terminates earlier than expected.

jhuckaby commented 12 hours ago

Coming in v2! You can add as many "blackout ranges" you like:

Screenshot 2024-09-24 at 8 55 05 PM

Screenshot 2024-09-24 at 8 55 40 PM