We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc4aaba commit cf2f640Copy full SHA for cf2f640
src/services/task-follower/scheduler.ts
@@ -284,7 +284,7 @@ export default {
284
async scheduled(event: ScheduledEvent, env: Environment, ctx: ExecutionContext): Promise<void> {
285
// Handle different cron schedules
286
switch (event.cron) {
287
- case '*/5 8-21 * * *': // Every 5 minutes during work hours (8 AM - 9 PM)
+ case '*/5 5-18 * * *': // Every 5 minutes during work hours (8 AM - 9 PM converted from UTC to GMT+3)
288
// Get current hour in UTC+3 (Turkey/Istanbul timezone)
289
const now = new Date();
290
const istanbulTime = new Date(now.toLocaleString('en-US', { timeZone: 'Europe/Istanbul' }));
0 commit comments