You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{CronJob}from"cron";constjob2=newCronJob("0 1 30 3 *",function(){console.log("You will see this message every second");},// onTicknull,// onCompletefalse,// start"Europe/Lisbon"// timeZone);console.log(job2.nextDates(1));
Description
The following snippet blocks the process
Expression at crontab.guru
What causes the issue is the fact that in Portugal the daylight savings starts at Mar 30 so the 01:00 does not actually exist.
Expected Behavior
Next execution date to be returned or an error/ warning to be shown
Actual Behavior
The process hangs forever
Possible Fix
Steps to Reproduce
Context
Your Environment
cron
version: 3.2.1The text was updated successfully, but these errors were encountered: