Transient one-shot timer
Spin up a throwaway timer+service without writing unit files; great for ad-hoc scheduled jobs
systemd-run --on-calendar='*-*-* 03:00:00' --unit=backup /usr/local/bin/backup.sh
- tool
- systemd26 commands
More systemd commands
-
systemctl set-property --runtime <unit> MemoryMax=512M CPUQuota=50%Apply cgroup limits live without restart; --runtime keeps them volatile (gone on reboot)
-
systemctl list-jobsShow in-flight start/stop jobs to diagnose a hung boot or a unit stuck activating
-
systemctl enable --now myapp.serviceEnable at boot and start immediately in one command
-
systemctl list-units --state=failedList all units that are in a failed state
-
systemctl daemon-reload && systemctl restart myapp.serviceReload unit definitions and restart the service