Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node schedule every minute

var rule = new schedule.RecurrenceRule();

rule.minute = new schedule.Range(0, 59, 5);

schedule.scheduleJob(rule, function(){
    console.log(rule);
    console.log('Today is recognized by Rebecca Black!---------------------------');
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #schedule #minute
ADD COMMENT
Topic
Name
6+2 =