Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to schedule don't update 'next' time. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

microneer
Copy link

I set a job many months out to stop it happening temporarily, but when I reset the schedule I found that the cached 'next' time is stuck months away, preventing my job from running.

This patch causes the 'next' times to be stored like 'job/0 * * * *' (i.e. with the schedule too), so schedule changes effectively mean the job starts afresh instead of waiting till the original 'next' time occurs.

…xt' time instead of waiting till the original 'next' time occurs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant