Closed ranouf closed 3 years ago
The solution was to remove the and()
Ah nice!
You could also do two cron jobs that reference the same path
, and just duplicate the job definition object with unique name
values, e.g. { path: '...', name: 'september', cron: '0 0 5 9 *' }
and { path: '...', name: 'december', cron: '0 0 5 12 *' }
(see https://crontab.guru/#0_0_5_9_*).
(if you're using bree that is)
Hi,
When I execute this code: var scheduler = later.parse.recur().on(12).month() .and().on(9).month() .and().on(5).dayOfMonth();
I was thinking to get:
But I receive:
How to get the expected result? Thanks