var minutes = 5, the_interval = minutes * 60 * 1000;setInterval(function() { console.log("I am doing my 5 minutes check"); // do your stuff here}, the_interval);将该代码另存为node_regular_job.js并运行:)

var minutes = 5, the_interval = minutes * 60 * 1000;setInterval(function() { console.log("I am doing my 5 minutes check"); // do your stuff here}, the_interval);将该代码另存为node_regular_job.js并运行:)