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

Updated used cron library to version 3 #4

Merged
merged 1 commit into from
May 3, 2020
Merged

Updated used cron library to version 3 #4

merged 1 commit into from
May 3, 2020

Conversation

juliusbachnick
Copy link

Hey,

I noticed that the used cron library robfig/cron is at version 3 by now whereas the current version of the module uses a much older version. Version 3 of this library aligns more with the standard notion of defining cron schedules, i.e. omits seconds.

For downwards-compatibility, I added a default schedule parser that accepts standard cron schedules with optional seconds. A future PR could contain changes to the functions in a form that they accept options so that the caller can explicity state the format of their cron schedule.

fgrosse added a commit that referenced this pull request May 3, 2020
@fgrosse fgrosse merged commit cbac89e into go-joe:master May 3, 2020
@fgrosse
Copy link
Contributor

fgrosse commented May 3, 2020

I did some final smallish cleanup via 9bf71be and merged your branch. Thanks for the contribution 🙏

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.

3 participants