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 support to cron expressions. #1

Open
Horusiath opened this issue Feb 1, 2019 · 0 comments
Open

Add support to cron expressions. #1

Horusiath opened this issue Feb 1, 2019 · 0 comments

Comments

@Horusiath
Copy link
Collaborator

Horusiath commented Feb 1, 2019

List of various examples can be found here. This would probably need to have a more specialized version of Schedule message that accepts cron expressions instead of date/interval pairs.

Cron grammar:

Field name Mandatory? Allowed values Allowed special characters
Seconds No 0-59 * / , -
Minutes Yes 0-59 * / , -
Hours Yes 0-23 * / , -
Day of month Yes 1-31 * / , - L W
Month Yes 1-12 or JAN-DEC * / , -
Day of week Yes 0-6 or SUN-SAT * / , - L #
Year No 1970–2099 * / , -

API Proposal

var task = new Reminder.ScheduleCron(taskId, recipient.Path, "message", "0 */30 * ? * *")
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

No branches or pull requests

1 participant