This commit is contained in:
Sibunnayak 2024-08-29 10:27:03 +05:30
parent a3bb3c409f
commit 23e87f3bca

View File

@ -26,7 +26,7 @@ const updateOverdueTasks = async () => {
};
// Schedule the cron job to run daily at midnight
cron.schedule('25 10 * * *', updateOverdueTasks, {
cron.schedule('0 0 * * *', updateOverdueTasks, {
timezone: "Asia/Kolkata"
});