Fix TypeScript error accessing node-cron ScheduledTask options

This commit is contained in:
Ryderjj89
2025-05-26 13:06:58 -04:00
parent 1a4f88419a
commit 76e6699b67

View File

@@ -975,7 +975,7 @@ const scheduledTask = cron.schedule('0 8 * * *', () => {
timezone: process.env.TZ || 'UTC' // Use TZ environment variable, default to UTC 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 // Handle client-side routing