All Cron Schedules

Cron Every Tuesday

Run a cron job every Tuesday at midnight:

0 0 * * 2

Understanding the Expression

The cron expression 0 0 * * 2 breaks down as follows:

Field Value Meaning
Minute0At minute 0
Hour0At midnight (00:00)
Day of month*Every day of the month
Month*Every month
Day of week2Tuesday

Example Usage

Basic crontab entry

0 0 * * 2 /path/to/your/script.sh

With output logging

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

With monitoring

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

Common Use Cases for Every Tuesday

  • Weekly backups: Create full system backups
  • Maintenance tasks: Run database optimization and cleanup
  • Weekly reports: Generate comprehensive weekly summaries
  • Security scans: Run vulnerability and compliance checks

Monitor this schedule

Get alerted when your cron job doesn't run.

Start Monitoring Free

3 checks free. No credit card required.