On Tuesday 30 July 2013 22:58:34 John R Pierce wrote:
On 7/30/2013 2:32 PM, Keith Keller wrote:
15 04 1-7 * 6 /home/app/oracle/backup/monthlybk.sh
maybe...
15 04 * * 6 test $(date +"%d") -le 07 && /home/app/oracle/backup/monthlybk.sh
(untested)
Run an incremental backup every day of the month except sundays
03 03 1-31 * * test `date +%a` != Sun && /usr/local/bin/backup-rsch- inc
Run a full backup on the first sunday of the month
07 03 1-7 * * test `date +%a` = Sun && /usr/local/bin/backup-rsch- full
Tony