We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 237836a commit 59e9166Copy full SHA for 59e9166
App/CronJobs/cronJob.js
@@ -8,7 +8,7 @@ const telNumbers = require('../Whatsapp/numbers');
8
9
// lets schedule the task through this function that can be exported to other modules/files.
10
// default timing is every 2 hours in a day.
11
-const cronJob = () => cron.schedule(`0 */2 * * *`, function () {
+const cronJob = () => cron.schedule(`0 0 */2 * * *`, function () {
12
sendWhatsappMessage(telNumbers); // uncomment to send automated whtsapp messages here.
13
});
14
0 commit comments