Skip to content

MaPhil/sicro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
});

About

simple cron npm package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published