Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node cron every 10 minutes

var cron = require('node-cron');

cron.schedule("0 */10 * * * *", async () => { //every 10 minutes
    console.log("running a task every 10 minutes");
});
 
PREVIOUS NEXT
Tagged: #node #cron #minutes
ADD COMMENT
Topic
Name
6+4 =