All Cron Schedules

Cron Twice Monthly

Run a cron job on the 1st and 15th of every month:

0 0 1,15 * *

Understanding the Expression

The cron expression 0 0 1,15 * * breaks down as follows:

Field Value Meaning
Minute0At minute 0
Hour0At midnight (00:00)
Day of month1,15Days 1,15 of the month
Month*Every month
Day of week*Every day of the week

Example Usage

Basic crontab entry

0 0 1,15 * * /path/to/your/script.sh

With output logging

0 0 1,15 * * /path/to/script.sh >> /var/log/script.log 2>&1

With monitoring

0 0 1,15 * * /path/to/script.sh && curl -fsS https://cronsignal.io/ping/YOUR_CHECK_ID

Common Use Cases for Twice Monthly

  • Monthly reports: Generate end-of-month financial reports
  • Billing operations: Process invoices and subscriptions
  • Compliance tasks: Run monthly security and audit reports
  • Data archival: Archive old data to long-term storage

Monitor this schedule

Get alerted when your cron job doesn't run.

Start Monitoring Free

3 checks free. No credit card required.