Skip to content

Commit

Permalink
fix: cron month starts from 0
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Oct 13, 2022
1 parent 67157f1 commit 94ae242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/enums/cron-expression.enum.ts
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 94ae242

Please sign in to comment.