timeplan

simplest way to assign delayed tasks and repetitive tasks

Timeplan

####simplest way to assign delayed tasks and repetitive tasks


  npm install timeplan

or

  git clone git://github.com/InspiredJW/timeplan.git
timeplan.delayed({
  period: "m"
  taskfunction() {
    console.log("Every Minutes");
  }
});
timeplan.repeat({
  period: "3s"
  taskfunction() {
    console.log("Every 3 Seconds");
  }
});
  • year : Y, year, years

  • month : M, month, months

  • week : W, week, weeks

  • day : D, day, days

  • hour : h, hour, hours

  • minute : m, minute, minutes

  • second : s, second, seconds