CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

systemd Timer Units

The third tool the scheduling objective names, and the one Red Hat now ships its own periodic work as. A timer is two units - a `.service` that does the work and a `.timer` that says when - and unlike cron the schedule can be checked with a command before you rely on it.

Deploy and Maintain Guide 45 of 67 Intermediate

Written against the versions above. A `.timer` and its `.service` share a name: `foo.timer` activates `foo.service` unless `Unit=` says otherwise. **Enable the timer, not the service** - enabling the service would run it at boot, which is not what a schedule means.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0 (Coughlan)Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

Before you start

  1. The two units

  2. Checking the schedule before trusting it

  3. cron or a timer

Official sources