From 76e6699b67c7021b17357f1a44f29867a0fde275 Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Mon, 26 May 2025 13:06:58 -0400 Subject: [PATCH] Fix TypeScript error accessing node-cron ScheduledTask options --- backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index bebf469..6f21365 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -975,7 +975,7 @@ const scheduledTask = cron.schedule('0 8 * * *', () => { timezone: process.env.TZ || 'UTC' // Use TZ environment variable, default to UTC }); -console.log(`Event conclusion email scheduled task scheduled for ${scheduledTask.options.timezone} at ${scheduledTask.options.recoverMissedExecutions ? 'a time based on missed executions' : 'the specified cron pattern'}.`); +console.log(`Event conclusion email scheduled task scheduled for timezone ${process.env.TZ || 'UTC'} at 8:00 AM.`); // Handle client-side routing