๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Beginner

What is Crontab Syntax?

The time specification format used in cron job scheduling, with five fields defining minute, hour, day of month, month, and day of week.

Crontab uses five space-separated fields: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-7, where 0 and 7 are Sunday). Special characters include * (any value), , (list: 1,3,5), - (range: 1-5), / (step: */5 means every 5). Common patterns: "0 * * * *" (hourly), "0 0 * * *" (daily midnight), "0 0 * * 0" (weekly Sunday), "0 0 1 * *" (monthly), "*/15 * * * *" (every 15 minutes). Edit with crontab -e, list with crontab -l. System crontab (/etc/crontab) includes a username field. The @reboot, @daily, @weekly shortcuts simplify common schedules.

Related Terms

Sed
A stream editor for filtering and transforming text, commonly used for find-and-replace operations in files.
SELinux
Security-Enhanced Linux โ€” a mandatory access control system that confines programs to minimum required privileges beyond standard file permissions.
RAID
Redundant Array of Independent Disks โ€” a technology combining multiple physical drives into a single unit for performance, redundancy, or both.
SSH (Secure Shell)
A cryptographic network protocol for secure remote login and command execution over an unsecured network.
Shell
A command-line interface that interprets user commands and passes them to the operating system for execution.
Daemon
A background process that runs continuously on a system, typically providing services like web serving or logging.
View All Linux Terms โ†’