*Maintained fork of Later.* A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser.
Why is the job being triggered twice? Also, if I don't specify second then job is triggered every second in 14th minute of the mentioned date and time. Is this the expected behaviour? Could anyone please help?
I don't want to use setTimeout as I want to keep the schedule generic.
I am trying to trigger a job once at a specific moment - 2021-06-14T18:14:00.000Z. But the job is being triggered twice. The code is given below:
Output of the above code:
Why is the job being triggered twice? Also, if I don't specify
second
then job is triggered every second in14
th minute of the mentioned date and time. Is this the expected behaviour? Could anyone please help?I don't want to use
setTimeout
as I want to keep the schedule generic.