diff --git a/resources/Task/TaskController.js b/resources/Task/TaskController.js index cf2aba7..2cc70fa 100644 --- a/resources/Task/TaskController.js +++ b/resources/Task/TaskController.js @@ -27,9 +27,9 @@ const updateOverdueTasks = async () => { }; // Schedule the cron job to run daily at midnight -cron.schedule('0 0 * * *', updateOverdueTasks); - // Schedule the cron job to run daily at 10:36 AM for testing -// cron.schedule("36 10 * * *", updateOverdueTasks); +cron.schedule("10 10 * * *", updateOverdueTasks); + +// cron.schedule("30 9 * * *", updateOverdueTasks); const parseDate = (dateStr) => { const [day, month, year] = dateStr.split("/").map(Number);