The following command does not mail error message:
find /export/home/neat/neat* -mtime +90 -exec rm -f {} \; 2/dev/null
Hereby I would like to thank you that mailed me directly with all
suggestions for all valuable help.
Regards,
Marek
Marek Grinberg wrote:
Hello,
The following entry in crontab:
find /export/home/neat/neat* -mtime +90 -exec rm -f {} \;
yields the following message in mail:
Your "cron" job on rissna
find /export/home/neat/neat* -mtime +90 -exec rm -f {} \;
produced the following output:
find: cannot open /export/home/neat/neatex*: No such file or directory
Is it possible to modify the find above, so no mail is generated ?
Regards,
Marek
sunmanagers mailing list
sunmanagers (AT) sunmanagers (DOT) org
sunmanagers mailing list
sunmanagers (AT) sunmanagers (DOT) org