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

Start scheduler after X moment in time #1

Merged
merged 2 commits into from Dec 25, 2019
Merged

Start scheduler after X moment in time #1

merged 2 commits into from Dec 25, 2019

Conversation

madflojo
Copy link
Owner

@madflojo madflojo commented Dec 25, 2019

Description

This pull request adds the ability to tell the scheduler not to schedule a task until after X point in time. This is useful for when you want to schedule something to start in the future but not now. I.E. I want to start an email task every Sunday, I could start the scheduler by waiting X days until next Sunday and give the task an interval of 7 days.

Type of change

  • New feature (non-breaking change which adds functionality)
  • Small and simple changes (Tech Debt, Doc updates, Adding tests, etc.)

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, ensuring GoDoc readability and clarity in hard-to-understand areas
  • I have made corresponding changes to documentation
  • I have added tests that ensure my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

If checklist items are unchecked please explain.

No downstream dependencies.

@madflojo madflojo merged commit badba41 into master Dec 25, 2019
@madflojo madflojo deleted the start-after branch December 25, 2019 02:01
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.

None yet

1 participant