Loading topic
systemctl and journalctl at a basic level. You should also know what a unit file is. The chapter builds the working model of a systemd timer, shows a complete service and timer pair,6 min readset -e and exit codes do, and have seen a cron or systemd timer job run. Earlier chapters covered overlap prevention with flock. Locking keeps two runs from executing at once. It does not make a run safe to repeat after a crash, 6 min readflock does from the chapter on overlapping runs. Here you will deal with two failure modes: a job that hangs forever, and a job that fails for a reason tha7 min readjournalctl output and know what a job's exit status means. The topic is what happens when the scheduled moment passes and nothing runs.7 min readset -e work in shell, and that you can read output from journalctl. Earlier chapters covered making jobs fail loudly with exit status. This chapter covers the case whe6 min readflock, atomic writes, and a heartb6 min read