Belajar Sendiri

Commands

systemctl list-timers

systemctl list-timers [name]

Risk: Safe

What it does

Shows systemd timers: when each runs next and what it starts.

When to use it

To check a timer is switched on and its next run.

Example

$ systemctl list-timers kedai-backup.timer

NEXT, LEFT and the service it ACTIVATES.

$ sudo systemctl enable --now kedai-backup.timer

Switch a timer on, now and at every boot.

$ systemd-analyze calendar '*-*-* 02:00:00'

When does this time rule fire next?