Releases: soroco/cron
Releases · soroco/cron
Add support for nth Day of the Week
New Feature(s)
- The release adds a feature of executing a job on nth Day of the Week. Now, the DoW spec can be of the form,
N#Mwhere N is the Day of the Week,Sunday(0) to Saturday(6), and M is the occurrence number,1 to 4orLfor Last week.
For example,- if the current day is
Mon Jun 1 01:00 2020and the cron spec is1 1 * 6 4#3then the next execution date will beMon Jun 18 01:01 2020. - if the current day is
Mon Jun 1 01:00 2020and the cron spec is1 1 * 6 4#Lthen the next execution date will beMon Jun 25 01:01 2020.
- if the current day is