mirror of https://github.com/IoTcat/cron-git.git
parent
d14d9239bf
commit
4c25cf8933
3 changed files with 4 additions and 2 deletions
@ -1,4 +1,4 @@ |
||||
const crongit = require('./index.js')(); |
||||
|
||||
//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!!!!')); |
||||
crongit.schedule("*/10 * * * * *", ()=>console.log('test ok!!!\nuse Ctrl+C to exit!!'), ()=>console.log('pull err err err err!!!!')); |
||||
|
Loading…
Reference in new issue