Transient one-shot timer systemd
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
more systemd
all 26 commands →
Runtime resource cap
systemctl set-property --runtime <unit> MemoryMax=512M CPUQuota=50%
Pending jobs queue
systemctl list-jobs
Enable and start service
systemctl enable --now myapp.service
Show failed units
systemctl list-units --state=failed
Reload unit file after edit
systemctl daemon-reload && systemctl restart myapp.service