node-cron / node-cron

A simple cron-like job scheduler for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cron schedule doesn't work without seconds

Luca-Tamburo opened this issue · comments

If seconds are not also specified, the task is not launched, so it is not true that seconds are optional.

Working version below
cron.schedule('0 11 23 * * *', () => { console.log('Launch task at 23:11'); });

gracias !!!