๐ŸŽ 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

Linux Bridge
A software-based network switch in the Linux kernel that connects multiple network interfaces at Layer 2, enabling VM and container networking.
Ulimit
A command that sets or displays resource limits for user processes, such as maximum open files or memory usage.
Curl
A versatile command-line tool for transferring data using various network protocols, commonly used for API testing.
Shell
A command-line interface that interprets user commands and passes them to the operating system for execution.
Iptables
The traditional Linux firewall tool that filters network packets using configurable chains of rules organized in tables.
Tar
A utility for creating and extracting archive files that combine multiple files and directories into a single file.
View All Linux Terms โ†’