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

cron format to run at 6 AM on the last Wednesday of the month #434

Open
zafarullahdialpad opened this issue Dec 16, 2021 · 1 comment
Open

Comments

@zafarullahdialpad
Copy link

Hi, the UNIX CRON does some kind of unexpected disjunctive mapping when the day of the week and day of the month are both specified (restricted). So
0 6 24-31 * 3 will run on every Wednesday and also from 24th to 31st of the month (regardless of the day of the week).

Is there a way to specify last Wednesday of the month using this package?

Context: I am not directly using this package. I am using Kubeflow Pipelines and their documentation point to this package here.

@colindean
Copy link

Looks like #325 or #397 would be required to enable the L specifier to get the last day of the month.

You might find some other strategies here: https://stackoverflow.com/questions/6139189/cron-job-to-run-on-the-last-day-of-the-month

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