task update

This commit is contained in:
Sibunnayak 2024-08-30 09:13:40 +05:30
parent f805f3b1f8
commit 6e21d07fb6

View File

@ -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"
}); });