Primjer skripte za backup korištenje cron-a (2)
/usr/ucb/mail -s "Backup completed successfully - $HOST" $admin << EOF
$HOST Cron backup script was apparently successful. The /etc/dumpdates file is:/bin/cat /etc/dumpdates'
# Confirm that the tape is in the device
$Mt -f $device rewind || failure
for i in blksz /dev/sd0a blksz /dev/sd0g blksz /dev/sd2h
$Dump 0ufsdb $device $size $dens $i || dumpfail
($Dump 0ufsdb $device $size $dens $blksz /dev/sd2a || dumpfail) && success