I created a backup script that copies our NT Server data drive to our
Redhat box running samba.  All works fine except my root email account
gets a 1.2 MB email sent to it every night. This will hog disk space.
This is the beginning of the email:
Subject: Cron <root@yamaha> /root/backupscript
Message part:
Unknown parameter encountered: "oplock wait break time"
Ignoring unknown parameter "oplock wait break time"
tar: Removing leading `/' from member names
mnt/
<BIG SNIP>

This is the script:
[root@yamaha root]# cat backupscript
#!/bin/bash
mount -t smbfs -o username=administrator,password=admin //ntserver/D$ /mnt
( tar cf - /mnt ) | ( cd /usr/local/samba/lib/back ; tar xvpf - )
umount /mnt
[root@yamaha root]#

How do I tell cron NOT to send me a summary? (if that is what it is doing)



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to