mirror of https://github.com/IoTcat/FDC.git
parent
ae72c384bc
commit
e4f2b4c74e
8 changed files with 399 additions and 393 deletions
@ -1,2 +1,5 @@ |
||||
git config credential.helper store |
||||
git pull |
||||
git add . -A |
||||
git commit -m "init from cron-git" |
||||
git push |
||||
|
@ -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