1.0.0 • Published 13 years ago
timeplan v1.0.0
Timeplan
####simplest way to assign delayed tasks and repetitive tasks
Installation
or
Usage
Delayed Task
timeplan.delayed({
period: "m"
task: function() {
console.log("Every Minutes");
}
});Repetitive Task
timeplan.repeat({
period: "3s"
task: function() {
console.log("Every 3 Seconds");
}
});Periods
year :
Y,year,yearsmonth :
M,month,monthsweek :
W,week,weeksday :
D,day,dayshour :
h,hour,hoursminute :
m,minute,minutessecond :
s,second,seconds
1.0.0
13 years ago