Skip to content

Commit 59e9166

Browse files
committed
heroku fixes
1 parent 237836a commit 59e9166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

App/CronJobs/cronJob.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const telNumbers = require('../Whatsapp/numbers');
88

99
// lets schedule the task through this function that can be exported to other modules/files.
1010
// default timing is every 2 hours in a day.
11-
const cronJob = () => cron.schedule(`0 */2 * * *`, function () {
11+
const cronJob = () => cron.schedule(`0 0 */2 * * *`, function () {
1212
sendWhatsappMessage(telNumbers); // uncomment to send automated whtsapp messages here.
1313
});
1414

0 commit comments

Comments
 (0)