systemd timers — scheduled jobs
cheat sheet · Ubuntu 24.04 · systemd 255 https://lab.dimsanych.ru/en/wiki/systemd-timers/Cheat sheet
-
systemctl list-timerstimers and their next run -
systemctl list-timers --allinactive ones too -
sudo systemctl enable --now clean.timerenable and start the timer -
sudo systemctl start clean.servicerun the job right now -
journalctl -u clean.service -n 20output of the latest runs -
systemd-analyze calendar 'Mon..Fri 03:00'check a schedule -
systemctl cat clean.timerwhat the unit file says -
sudo systemctl daemon-reloadafter editing unit files