-
Am I missing something? Is there a feature for # that allows for the first 'n' weekday of a month? First off, this is great! I am modifying it to work without npm as I need a complete stand-alone single file implementation for google apps script. I have a Quartz Cron schedule of here is my version in gist with my edits: https://gist.github.com/ShepTeck/bb6bda4f4a1692b5cc4a49715a41c776 -ps I added logic because 0 0/30 * 1/1 * ? * (At second :00, every 30 minutes starting at minute :00, every hour, every day starting on the 1st, every month) was causing too many requests and the browser to crash. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
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 If you are interested in adding "real" nth weekday, a pull request is welcome 👍 P.s. |
Beta Was this translation helpful? Give feedback.
-
This feature is pre-released, and tracked at issue #198 |
Beta Was this translation helpful? Give feedback.
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.