Hi all,
        i have a backup script that will send me an email after backup has
finished. But i keep receiving 2 mails instead of 1. The additional email
contains these..how do i prevent that mail from appearing?

Subject: Cron <root@mail> /root/bakupdaily
Body: tar: Removing leading `/' from member names

My Backup Script:
#!/bin/sh
echo Backup started at `date` > bakupweekly.log
tar -cvf /dev/st0 /var/spool/mail /var/spool/mqueue /var/www /etc /var/named
/ho
me /boot /root >> bakupweekly.log
echo Backup stopped at `date` >> bakupweekly.log
mail -s "Backup Weekly Log" "admin@mail" < bakupweekly.log

Regards,
Daniel Tan
67469188 Ext.665
DID: 68430665
MIS Department
Shop N Save Pte Ltd
: [EMAIL PROTECTED]

[This e-mail is confidential and may also be privileged. If you are not the
intended recipient, please delete it and notify us immediately; you should
not copy or use it for any purpose, nor disclose its contents to any other
person. Thank you.]




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to