Schedule Jobs with cron and at
Read a crontab, give an account two scheduled jobs and watch cron run one, add system jobs in /etc/cron.d and /etc/cron.daily, take cron away from one account, and queue a one-off job with at.
Skill labbeginner~25 minFree
What you'll do
- ✓Read and write the five time fields of a crontab line
- ✓Install and list a crontab for yourself and, as root, for another account
- ✓Place system jobs in /etc/cron.d and in /etc/cron.daily and know what runs them
- ✓Control who may use cron with cron.allow and cron.deny
- ✓Queue, inspect and remove a one-off job with at
Lab outline
- 01A user's crontab
- 02System jobs
- 03Access and one-off jobs
Before you start
- Read and Edit Configuration Files
- User Account Lifecycle
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.