Skip to content

Is there functionality for the Nth Weekday of a Month, i.e. 1st Monday of a month #190

Answered by Hexagon
ShepTeck asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! There is no nth-weekday functionality right now, it's just basic vixie cron with a few additions.

But you can actually run a script at nth weekday by using configuration legacyMode: false and specifying day of month 1-7, then select a weekday. 2nd week is 8-14 etc.

If you are interested in adding "real" nth weekday, a pull request is welcome 👍

P.s. ? means "the value of the first run in croner. You should just use * for wildcards.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ShepTeck
Comment options

Answer selected by ShepTeck
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants