-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrontab
More file actions
16 lines (13 loc) · 759 Bytes
/
crontab
File metadata and controls
16 lines (13 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Fitness Coach Scheduled Tasks
#
# NOTE: This file is not used directly in production.
# The crontab is generated at container startup by scripts/generate-crontab.js
# based on the TIMEZONE environment variable.
#
# This file documents the default schedule (in user's local timezone):
# Check reminders - every hour
# 0 * * * * curl -s -H "Authorization: Bearer $CRON_SECRET" http://localhost:8080/api/cron/check-reminders
# Daily reminder - 6:00 AM on weekdays (Mon-Fri)
# 0 6 * * 1-5 curl -s -H "Authorization: Bearer $CRON_SECRET" http://localhost:8080/api/cron/daily-reminder
# Weekly plan - Sunday 8:00 PM (generates both retrospective and plan)
# 0 20 * * 0 curl -s -H "Authorization: Bearer $CRON_SECRET" http://localhost:8080/api/cron/weekly-plan