Search

Cron & Timers

also known as cron tabs or cron tables.

cat /etc/crontab
image

we have hourly, daily, weekly, monthly tasks

then we have 2 files being run as root

the letters mean:

m      h    dom          mon   dow         user   command
minute hour day of month month day of week
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly

on the minute 17 of every hour, run this command as root. * means all/every

25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

at 6:25 AM every day, run this command as root.

* * * * * root overwrite.sh
* * * * * root /usr/local/bin/compress.sh

happening every minute?