You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cron package currently sets scheduler and then initialize cron.Run() based on the current time NOW. Is there possible, we can set NOW from cron.Cron.Run(now time.Time) method. Then use an old time may trigger multi callbacks immerdietely. This may be a nicer feature for test purpose or replay application.
The text was updated successfully, but these errors were encountered:
Came across this while building a scheduler service based on cron. When the service is restarted, I want it to run any jobs that it missed while it was down. Would it be possible to add a way to get the last time that cron.Cron was run for and to run cron.Cron as of a time in the past? Then, I could persist this timestamp before shutting down my service and use this timestamp to resume from where I left off on restart.
Cron package currently sets scheduler and then initialize cron.Run() based on the current time NOW. Is there possible, we can set NOW from cron.Cron.Run(now time.Time) method. Then use an old time may trigger multi callbacks immerdietely. This may be a nicer feature for test purpose or replay application.
The text was updated successfully, but these errors were encountered: