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

Use a cron string for scheduling exception #238

Closed
pwen090 opened this issue Apr 2, 2019 · 1 comment
Closed

Use a cron string for scheduling exception #238

pwen090 opened this issue Apr 2, 2019 · 1 comment

Comments

@pwen090
Copy link

pwen090 commented Apr 2, 2019

#214 I mentioned using a cron string to add exclusion support. I understand that cron itself does not have that. What I was asking is if there could be support to use a cron string but as a not.

That is to say I could have two properties like IncludeCron and ExcludeCron and they would both accept a cron string. It would make my task run during anything in the Include but not run during anything in the Exclude.

@tallesl
Copy link
Contributor

tallesl commented Jul 14, 2019

Exclusion doesn’t make sense. The library doesn’t calculate when the schedule will be running, it calculates when the schedule will be fired.

Inclusion does make sense, but I’m passing for now.

What I said applies to both cron and no-cron schedules by the way.

@tallesl tallesl closed this as completed Jul 14, 2019
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

2 participants