Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs execute every minute

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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nodejs #execute #minute
ADD COMMENT
Topic
Name
1+6 =