mirror of https://github.com/IoTcat/cron-git.git
parent
12f0ac099c
commit
76c8bd8ae1
3 changed files with 18 additions and 11 deletions
@ -1,3 +1,4 @@ |
||||
const crongit = require('./index.js')(); |
||||
|
||||
crongit.schedule("10 * * * * *", ()=>console.log('test ok!!!\nuse Ctrl+C to exit!!'), ()=>console.log('pull err err err err!!!!')); |
||||
crongit.pull({}, ()=>{console.log('good')}, ()=>{console.log('bed')}); |
||||
//crongit.schedule("10 * * * * *", ()=>console.log('test ok!!!\nuse Ctrl+C to exit!!'), ()=>console.log('pull err err err err!!!!'));
|
||||
|
Loading…
Reference in new issue