Cron Job Every 48 Hours
Expression Breakdown
Minute
(0-59)
(0-59)
Hour
(0-23)
(0-23)
Day
(1-31)
(1-31)
Month
(1-12)
(1-12)
Weekday
(0-6)
(0-6)
| Field | Value | Meaning |
|---|---|---|
| Minute | At minute | |
| Hour | At hour | |
| Day of Month | Day | |
| Month | Month | |
| Day of Week |
title: ‘Cron Expression: Cron Job Every 48 Hours’
description: Learn how to create a cron expression for ‘cron job every 48 hours’.
Runs every 2 days with our free cron generator tool.
keywords: cron job every 48 hours, cron expression, cron job, linux cron, unix cron,
cron syntax
cron_expression: 0 0 */2 * *
search_keyword: cron job every 48 hours
search_volume: 0
search_rank: 368
example_name: cron job every 48 hours
permalink: “/tools/cron-generator/examples/cron-job-every-48-hours/”
related_expressions:
- keyword: cron every 48 hours
url: “/tools/cron-generator/examples/cron-job-every-48-hours/” - keyword: every 2 days cron
url: “/tools/cron-generator/examples/every-2-days-cron/” - keyword: cron every 2 days
url: “/tools/cron-generator/examples/cron-job-every-48-hours/”
—
This cron expression represents: cron job every 48 hours
Cron Expression
0 0 */2 * *
What This Expression Does
Runs every 2 days
Use Cases
This cron schedule is commonly used for:
- System health monitoring
- Report generation
- Database maintenance
- Cache refresh
How to Use
- Copy the cron expression above
- Open your crontab with
crontab -e - Add a new line with:
0 0 */2 * * /path/to/your/script.sh - Save and exit
Alternative Formats
-
With logging:
0 0 */2 * * /path/to/script.sh >> /var/log/cron.log 2>&1 -
With email notification:
0 0 */2 * * /path/to/script.sh || mail -s "Cron job failed" admin@example.com