DavidSzczesniak
5/17/2018 - 2:49 PM

Anacron format

With anacrons:

  • Jobs are run on restart and won't be missed if the system is off
  • Anacrons can't be scheduled more frequently than once per day
1 15 daily.backup /usr/sbin/backup.sh

\!h Four fields:

- Period in days or macro: Daily
- Delay: minutes after start-up for job to run
- Job Identifier: (daily.backup) Used to name timestamp file in /var/spool/anacron indicating when job was last run
- Command: (back.sh) indicates what command we want to run