whenever
whenever copied to clipboard
Adding timeout to prevent overlapping cron jobs
What about adding timeout on every or job level to prevent overlapping cron jobs?
https://man7.org/linux/man-pages/man1/timeout.1.html
Examples:
every :day, at: '12:20am', timeout: 10.minutes do
rake "app_server:task"
end
every :day, at: '12:20am' do
rake "app_server:task", timeout: 10.minutes
end
Does this gem support timeout: ?
It would be great if we can add this option. 🚀