- Schedules live in personal cron tables, in
/etc/crontaband/etc/cron.d, and also in systemd timers. - A cron line is five time fields and a command; in the system files a user name sits between them.
- cron throws away job output, so a run is checked with
sudo journalctl -u cron, and%in a command is written as\%. - A timer sets the moment, a service does the work;
enable --nowturns a timer on right away and after a reboot. - At the start of the lesson
crontab -lprinted "no crontab for student": it shows only the personal table, while the machine's schedules were in/etc/crontaband in the systemd timers.
Step 8 of 8 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson