Skip to content

Commit

Permalink
Merge pull request #1063 from bangbang93/master
Browse files Browse the repository at this point in the history
fix: cron month starts from 0
  • Loading branch information
kamilmysliwiec authored Feb 3, 2023
2 parents f03f5be + 94ae242 commit 373d4e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/enums/cron-expression.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export enum CronExpression {
EVERY_2ND_MONTH = '0 0 1 */2 *',
EVERY_QUARTER = '0 0 1 */3 *',
EVERY_6_MONTHS = '0 0 1 */6 *',
EVERY_YEAR = '0 0 1 1 *',
EVERY_YEAR = '0 0 1 0 *',
EVERY_30_MINUTES_BETWEEN_9AM_AND_5PM = '0 */30 9-17 * * *',
EVERY_30_MINUTES_BETWEEN_9AM_AND_6PM = '0 */30 9-18 * * *',
EVERY_30_MINUTES_BETWEEN_10AM_AND_7PM = '0 */30 10-19 * * *',
Expand Down

0 comments on commit 373d4e1

Please sign in to comment.