Skip to content

Instantly share code, notes, and snippets.

@AndersonChoi
Created June 25, 2016 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndersonChoi/9d33cc03f1800b519f7566543d59767b to your computer and use it in GitHub Desktop.
Save AndersonChoi/9d33cc03f1800b519f7566543d59767b to your computer and use it in GitHub Desktop.
var schedule = require('node-schedule');
var rule = new schedule.RecurrenceRule();
rule.minute = 30;
//매 시간 30분 마다 수행
var j = schedule.scheduleJob(rule, function(){
      console.log('...');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment