Hands-on task
This task is step 3 of the course “Cron: scheduled jobs”
System job in /etc/cron.d
Create a system cron job in the file /etc/cron.d/nightly: every day at 00:30, run /usr/local/bin/rotate.sh as the user root. Keep in mind that the /etc/cron.d format differs from a user crontab.
Reference:cron and crontab
What you'll practise:
- cron
- /etc/cron.d
- system jobs
- crontab format