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

Check cron example code #27

Closed
alpine-digger opened this Issue Sep 11, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@alpine-digger

alpine-digger commented Sep 11, 2017

In cron examle code there is used for run command every Sunday this code:

* * * * 7 1 0 0 # run every Sunday at 1:00

but according to APScheduler API day_of_week accept these value:

day_of_week (int|str) – number or name of weekday (0-6 or mon,tue,wed,thu,fri,sat,sun)

So what is correct? Number 6 or 7?

@funkyfuture

This comment has been minimized.

Owner

funkyfuture commented Sep 11, 2017

thanks for spotting this, it should be 6. a pr to fix this and an additon with sun as alternative is welcome.

@funkyfuture

This comment has been minimized.

Owner

funkyfuture commented Dec 23, 2017

Solved in 003c83a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment