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

Add CreatedAt field for recurring jobs #552

Merged
merged 2 commits into from Apr 14, 2016
Merged

Add CreatedAt field for recurring jobs #552

merged 2 commits into from Apr 14, 2016

Conversation

odinserj
Copy link
Member

This PR adds the CreatedAt column for recurring jobs to properly calculate the schedule. Previous implementation contained a bug that resulted in a lost execution in the following cases:

  • Recurring job should be triggered in the next recurring job scheduler run (i.e. next minute)
  • Next execution time was calculated, but recurring job scheduler was unavailable at that time.

Fixes #546.

For newly created recurring jobs, recurring jobs scheduler is using
CreatedAt column to check the scheduled time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant