I have created crone job for every minute
import * as schedule from "node-schedule"
schedule.scheduleJob('* * * * *', async () => {
console.log("running every minute")
});
the above working perfectly for every minute. similarly I have task which has to execute for every hour. I tried like below
schedule.scheduleJob('0 0 */1 * *', async () => {
console.log("running every minute")
});
But unfortunately its not working every hour as expected. Is there any thing I'm missing
based on node-schedule the third * is hour
for every one hour just try