I have a ruby on rails app, and there is a cron running in the background.
The cron job runs every 10 minutes on the 10 minutes, so 9:00, 9:10, 9:20, 9:30 and so on.
In my rails app, I want to show when the cron will next run.
So I will have, “Cron will next run at: 9:20PM”
I just can’t figure out how to get this in ruby.
Thanks,
Andrew
or little more flexible and monkey patching