task update
This commit is contained in:
parent
f805f3b1f8
commit
6e21d07fb6
@ -26,7 +26,7 @@ const updateOverdueTasks = async () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Schedule the cron job to run daily at midnight
|
// Schedule the cron job to run daily at midnight
|
||||||
cron.schedule('0 0 * * *', updateOverdueTasks, {
|
cron.schedule('16 9 * * *', updateOverdueTasks, {
|
||||||
timezone: "Asia/Kolkata"
|
timezone: "Asia/Kolkata"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user