add scheduler btn

This commit is contained in:
2023-01-31 09:49:03 +01:00
parent 957aba82e1
commit 1ddb00afc2
+1 -1
View File
@@ -135,7 +135,7 @@ async function startWithList(contacts, device, selectedStore, audioAnalyse, aler
async function scheduleBookWithNumbers(startNumber, endNumber, selectedStore, pathToExcelFile = '/Users/lpan/Desktop/contact_all.xlsx', audioAnalyse = false, alertBeep = false) {
console.log("scheduleBookWithNumbers() called")
schedule.scheduleJob('45 9 * * *', function () {
schedule.scheduleJob('30 10 * * *', function () {
console.log("start startBookWithNumbers")
startBookWithNumbers(startNumber, endNumber, selectedStore, pathToExcelFile, audioAnalyse = false, alertBeep = false)
})