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

Change day of week index to [1-7] instead of [0-6] #11

Open
deepghodasara1999 opened this issue Aug 2, 2021 · 1 comment
Open

Change day of week index to [1-7] instead of [0-6] #11

deepghodasara1999 opened this issue Aug 2, 2021 · 1 comment

Comments

@deepghodasara1999
Copy link

How can I consider index for day of week [1-7], instead of [0-6] as I am working with Quartz Syntax of cron expression where index of day of week is consider from 1 and in code it is considered from 0. Due to that I am getting wrong output from check_trigger() method.

http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html
Screenshot_20210802-154315-01

@ericpruitt
Copy link
Owner

ericpruitt commented Aug 2, 2021

This isn't configurable. You'll have to modify the source code if you want to index from 1 on the day of the week.

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