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

Categories

Linux Intermediate

What is Systemd Timer?

A systemd unit that triggers services on a schedule or at specific events, serving as a modern alternative to cron jobs.

Systemd timers consist of two files: a .timer unit defining the schedule and a .service unit defining the task. They offer advantages over cron including logging integration (via journalctl), dependency management, resource control (cgroups), randomized delays to prevent thundering herds, persistent timers that catch up on missed runs, and calendar event expressions. OnCalendar= specifies time-based schedules (e.g., daily, weekly) while OnBootSec= and OnUnitActiveSec= define relative timers. List active timers with systemctl list-timers.

Related Terms

Package Manager
A tool that automates the process of installing, updating, configuring, and removing software packages.
File Permissions
A security mechanism that controls who can read, write, or execute files and directories in Unix-like systems.
Environment Path
The PATH variable that tells the shell which directories to search when looking for executable commands.
Find
A powerful command for searching files and directories based on various criteria like name, size, type, and modification time.
LVM (Logical Volume Manager)
A storage management framework that provides flexible disk management through abstract layers of physical and logical volumes.
Shell
A command-line interface that interprets user commands and passes them to the operating system for execution.
View All Linux Terms โ†’