Hands-on task
First Monday of the month
In the root crontab, set up the job /opt/monthly-maint.sh to run only on the first Monday of each month at 09:00. Watch out for cron's classic quirk: if you set both the day of month and the day of week, cron combines them with OR (it will fire on both days 1-7 and every Monday) — which is wrong. Work around it. Any entry that fires on exactly those days and at that time will do.
- cron
- crontab
- day of week
- date
- first Monday