Cron Jobs - kimschles/schlesinger-knowledge GitHub Wiki
Cron Jobs
Write a script and make it executable
- For example,
sayHi.sh
:
echo 'Hello World!'```
* `chmod +x sayHi.sh`
`/etc/cron.d`
`/etc/cron.daily`
`/etc/cron.hourly`
`/etc/cron.monthly`
`crontab -e`
`1-59 * * * * /etc/cron.hourly/sayHi.sh`