⏰Cron Schedules
Weekly on Monday Morning
Run once per week every Monday at 9:00 AM.
Pattern
0 9 * * 1Explanation
Perfect for weekly reports, summaries, and start-of-week tasks.
Examples
Cron Expression
Output
0 9 * * 1
Runs
Output
Every Monday at 09:00
Code Examples
Crontab
# Crontab entry
0 9 * * 1 /path/to/weekly-report.sh
# Day codes:
# 0 or 7 = Sunday
# 1 = Monday
# 2 = Tuesday
# ...
# 6 = Saturday Python
# Python APScheduler
from apscheduler.schedulers.blocking import BlockingScheduler
scheduler = BlockingScheduler()
@scheduler.scheduled_job('cron', day_of_week='mon', hour=9)
def weekly_monday_job():
print('Running weekly Monday job')
generate_weekly_report()
scheduler.start()Try it Now
💡 Tips
- Great for weekly team reports
- Consider Friday instead for weekly summaries
- Add week number to report filename
- Send email notifications on completion
- Consider first Monday of month for monthly reports
⚠️ Common Pitfalls
- Holidays on Monday mean no manual override
- Three-day weekends shift the schedule
- Timezone considerations for global teams