diff --git a/schedule.js b/schedule.js new file mode 100644 index 0000000..b1b82c2 --- /dev/null +++ b/schedule.js @@ -0,0 +1,9 @@ +const {startBookWithNumbers, scheduleBookWithNumbers} = require('./src/appointment') +const schedule = require("node-schedule"); +//faubourg, random +schedule.scheduleJob('30 10 * * *', function () { + console.log("start startBookWithNumbers") + startBookWithNumbers(1, 4000, "random", "/Users/panlei/Desktop/gmx_pissmail_manual.xlsx", true, false).then((r) => { + console.log(r) + }) +}) \ No newline at end of file