🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Linux Beginner

What is Cron Job?

A scheduled task in Unix-like systems that runs automatically at specified times or intervals.

Cron is a time-based job scheduler. Users define tasks in a crontab file using a specific syntax: minute, hour, day of month, month, day of week, followed by the command. For example, "0 2 * * * /backup.sh" runs a backup script at 2 AM daily.

Cron is essential for system maintenance, log rotation, automated backups, and any recurring task.