⏱OpsTools

Cron Expression for Every 6 Hours

0 */6 * * *→Runs 4 times a day: 00:00, 06:00, 12:00, 18:00
0
Minute
0–59
*/6
Hour
0–23
*
Day
1–31
*
Month
1–12
*
Weekday
0–7

Quick Examples

How It Works

The expression 0 */6 * * * divides the day into four 6-hour windows. It fires at midnight, 6 AM, noon, and 6 PM. This is a natural fit for tasks aligned with business quarters of the day or shift changes.

Common Use Cases

  • 1SSL certificate renewal checks (e.g., certbot)
  • 2Full database index rebuilds
  • 3Pulling data from third-party APIs with rate limits

Linux Crontab Example

0 */6 * * * certbot renew --quiet

Add this line to your crontab with crontab -e

Need a custom schedule?

Build your own cron expression visually with our generator.

Open Generator →