README (880B)
1 scron 2 ===== 3 Simple cron daemon. 4 5 Features 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 14 Configuration 15 ------------- 16 Columns: 17 minute, hour, day of month, month, day of week, command 18 19 Separator: 20 Any number of tabs or spaces. 21 22 Value: 23 * (wildcard), 30 (number), */N (repeat), 1-5 (range), or 1,3,6 (list) 24 25 Example 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