sicro
v1.0.4
Published
a simple node wrapper for the crontab
Downloads
5
Readme
SICRO
usage on the console
sicro -option
general options:
-v --version
-h --help
-l --list
functions:
add job
[-a --add] [-k --key] <key> [-j --job] <job>
remove job
[-r --remove] [-k --key] <key>
usage in a programm
var sc require('sicro');
sc.add('key','* * * * * echo "I am a test command" >> ~/Desktop/tmp3.txt').then(function(){
//callback
});
sc.remove('key').then(function(){
//callback
});
sc.list().then(function(){
//callback
});