node-cron icon indicating copy to clipboard operation
node-cron copied to clipboard

Time Zone: "" - Cron String: 0 * * * * * - UTC offset: +00:00 - current Date: Thu Feb 04 2021 12:42:14 GMT+0000

Open hardikbutani222 opened this issue 4 years ago • 1 comments

i have used cron in every minute. cronTime: '0 */1 * * *' but i got this error.

hardikbutani222 avatar Feb 04 '21 12:02 hardikbutani222

@hardikbutani222 the cron string that you use '0 /1 * * ' has only 5 groups - 'minute(0) hour(/1) day() month() weekday()'. This package requires a sixth group for the seconds - this is why you get an error.

Try: '0 */1 * * * *'

Shogobg avatar Feb 23 '21 03:02 Shogobg