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

Allow setting the start time of a ConstantDelaySchedule #363

Closed

Conversation

geodimm
Copy link

@geodimm geodimm commented Dec 22, 2020

This will close #336

* If the start time is in the future, use it as the first run instead of
  returning a zero date. Otherwise the entry might never run if there
  are no other entries with non-zero dates.
* Round the start time to the second as when the next time is calculated
  it's rounded too and might end up before the time passed as input. In
  this case the entry will be run thousands of times as the next
  timestamp is before `now`

Co-authored-by: Fatih Tekin <[email protected]>
@geodimm geodimm force-pushed the add-start-time-to-constantdelay-schedules branch from cb22499 to e5535a0 Compare March 2, 2021 09:03
SamPeng87 pushed a commit to SamPeng87/cron that referenced this pull request May 9, 2022
@geodimm geodimm closed this Oct 29, 2022
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.

Set the start time for a "every" job
3 participants