# Lesson 8: Cron and scheduling This lesson covers cron and scheduling. You'll read a short explanation, try three small exercises and finish with a quiz. Read the full lesson: [https://glibcode.net/courses/linux-shell/lessons/8](https://glibcode.net/courses/linux-shell/lessons/8) ## Files - `crontab.txt`: running the backup every night with cron > **Tip:** `set -euo pipefail` at the top of a script stops it at the first error. ## Run it ```sh # type the commands from crontab.txt one by one; don't run it as a script ``` ## Exercises See [exercises.md](exercises.md). Ask in the forum once you've tried.