README
1scron
2=====
3Simple cron daemon.
4
5Features
6--------
7* Schedule commands to be run at specified dates and times.
8* Single daemon and configiguration file.
9* Log job output: 'command &>> /var/log/cron.log'.
10* Run job as different user: 'su -c 'command' user'.
11* Log to stdout or syslog.
12* No mail support.
13
14Configuration
15-------------
16Columns:
17 minute, hour, day of month, month, day of week, command
18
19Separator:
20 Any number of tabs or spaces.
21
22Value:
23 * (wildcard), 30 (number), */N (repeat), 1-5 (range), or 1,3,6 (list)
24
25Example of crontab file:
26 # Run updatedb at 6:00 every day
27 0 6 * * * updatedb
28
29 # Run at 5:30 every business day. Log output to /var/log/backup.log.
30 30 5 * * 1-5 syncbackup &>> /var/log/backup.log
31
32 # Run as user postmaster at 5:00 every third day of month.
33 0 5 */3 * * su -c 'mail -s "Hello world" a@b.com' postmaster