[cron](https://en.wikipedia.org/wiki/Cron) is a job scheduler for Unix-based systems. It automates tasks.
*List* all cron jobs.
```sh
crontab -l
```
Create a new cron job with the *edit* command.
```sh
crontab -e
```
Example cron file that runs a backup script [every day at 9 am](https://crontab.guru/#0_9_*_*_0-6).
```cron
0 9 * * 0-6 ~/my/scripts/backup.sh
```
# Resources
- [Crontab.guru - Cron schedule expression generator](https://crontab.guru)
- [Scheduling Jobs With Crontab on macOS. Medium.](https://ratixyz.medium.com/https-medium-com-ratik96-scheduling-jobs-with-crontab-on-macos-add5a8b26c30)