Date: Mon, 24 Jan 2000 07:41:58 +0100 (MET) From: Daniel Forsgren <forda@ite.mh.se> To: freebsd-questions@freebsd.org Subject: Disable crontab error mails Message-ID: <Pine.GSO.4.21.0001240731230.2706-100000@oden>
next in thread | raw e-mail | index | archive | help
Hello, I've set up a series of crontab scripts that updates a web page with system information for a cluster of FreeBSD machines (top, df etc for each machine). On each machine there's a script that periodically updates its sysinfo text file to the local disk, and the machine with the web server runs a script that periodically copies these local sysinfo files to the www folder through NFS (all disks are mounted on the web server). Now, the problem is that if one machine happen to be down, I get a bundle of error mails from cron since one of the disks it tries to copy from is not mounted. Is there some way to disable error mails from cron? Or could I incorporate some kind of "if the file exists"-check in the script? Thanks in advance, /Daniel F. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0001240731230.2706-100000>