mirror of https://github.com/IoTcat/cron-git.git
parent
652d44c78e
commit
bfd861fd0b
2 changed files with 0 additions and 8 deletions
@ -1,6 +0,0 @@ |
|||||||
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.getCommitNum(function(d,err, s){console.log(err.total);console.log((new Date(err.all[0].date)).getDate())}); |
|
||||||
crongit.getTodayCommits(function(s){console.log(s)}); |
|
Loading…
Reference in new issue