### First we'll delete old files 0 15 * * 5 if test -f /disk3/backup_from_pc/*.*; then rm /disk3/backup_from_pc/*.*; fi ### Maggi, what have we done( for last week)? 0 16 * * 5 find /disk3 \( -name '*.BDU' \) -mtime -7 -exec cp {} /disk3/backup_from_pc/{} \; ### And now we are coping all our information to the tape drive 0 17 * * 5 /usr/sysadm/privbin/backup -c recurring-990698733 -i 'backup_from_pc' -v -n -f /dev/tape -m euclid -s /var/sysadm/backups/recurring-990698733 |
Рис. 1. Фрагмент файла crontab