From 6e21d07fb612c3e07d73713eb867dae3a909024c Mon Sep 17 00:00:00 2001 From: Sibunnayak Date: Fri, 30 Aug 2024 09:13:40 +0530 Subject: [PATCH] task update --- resources/Task/TaskController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/Task/TaskController.js b/resources/Task/TaskController.js index fa3bf01..806daf8 100644 --- a/resources/Task/TaskController.js +++ b/resources/Task/TaskController.js @@ -26,7 +26,7 @@ const updateOverdueTasks = async () => { }; // Schedule the cron job to run daily at midnight -cron.schedule('0 0 * * *', updateOverdueTasks, { +cron.schedule('16 9 * * *', updateOverdueTasks, { timezone: "Asia/Kolkata" });