Cron Schedules

First Day of Every Month

Run on the 1st day of each month - ideal for monthly billing or reports.

Pattern

0 0 1 * *

Explanation

Runs at midnight on the first day of every month.

Examples

Cron Expression
Output
0 0 1 * *
Runs
Output
Jan 1 00:00, Feb 1 00:00, Mar 1 00:00...

Code Examples

Crontab
# Crontab entry
0 0 1 * * /path/to/monthly-billing.sh

# Breakdown:
# 0  - At minute 0
# 0  - At hour 0 (midnight)
# 1  - On day 1 of month
# *  - Every month
# *  - Any day of week

Try it Now

💡 Tips

  • Perfect for monthly billing cycles
  • Consider running at off-peak hours
  • Add retry logic for critical monthly jobs
  • Send confirmation emails after completion

⚠️ Common Pitfalls

  • All months get processed - consider month filtering in script
  • No built-in "last day of month" in standard cron
  • System downtime on 1st means missed run