Cron vs Crontab — What's the Difference?

0 9 * * 1-5

Every weekday at 9:00 AM

Next 10 Executions

Times shown in UTC

  • Mon, May 18, 202609:00
  • Tue, May 19, 202609:00
  • Wed, May 20, 202609:00
  • Thu, May 21, 202609:00
  • Fri, May 22, 202609:00
  • Mon, May 25, 202609:00
  • Tue, May 26, 202609:00
  • Wed, May 27, 202609:00
  • Thu, May 28, 202609:00
  • Fri, May 29, 202609:00

Field Breakdown

0
Minute
0
9
Hour
9
*
Day of Month
Every day
*
Month
Every month
1-5
Day of Week
Mon, Tue, Wed, Thu, Fri

About This Schedule

"Cron" and "crontab" are often used interchangeably, but they refer to different things. Cron is the daemon (background service) that runs scheduled jobs. Crontab is the configuration file (or the command to edit it) where you define those schedules. Think of cron as the engine and crontab as the instruction sheet.

The crontab command manages per-user schedule files: crontab -e opens your crontab for editing, crontab -l lists your current entries, and crontab -r removes all your entries. The cron daemon reads these files and executes the scheduled commands at the specified times.

There's also a system-wide crontab at /etc/crontab and drop-in directories like /etc/cron.d/, /etc/cron.daily/, /etc/cron.hourly/, etc. System crontab files include an extra field for the username that runs the command. User crontabs (edited via crontab -e) run as the owning user automatically.

Frequently Asked Questions