ccondo

Member
Nov 2, 2004
18
0
151
Memphis
I have a cron job that runs every 3 minutes and I get an email every 3 minutes from this job. How can I exclude the notifications from this one job?

Thanks for any help.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
You can add the following at the end of the crontab line which ignores the output and so stops it emailing you:

*/3 * * * * /path/to/your/script.pl > /dev/null 2>&1