J jmackler Verified User Joined Jun 18, 2004 Messages 20 Aug 29, 2006 #1 I have a cron job that runs every five minutes. The system is sending me an email (as it should) to notify me of the results. How can I stop this? Can it just write it to a log file, or not do anything? Thanks, Jeff
I have a cron job that runs every five minutes. The system is sending me an email (as it should) to notify me of the results. How can I stop this? Can it just write it to a log file, or not do anything? Thanks, Jeff
hehachris Verified User Joined Nov 24, 2004 Messages 533 Location Hong Kong Sep 2, 2006 #2 add this to end of your command: >/dev/null 2>&1 Click to expand... for example: */5 * * * * /path/abc.sh >/dev/null 2>&1
add this to end of your command: >/dev/null 2>&1 Click to expand... for example: */5 * * * * /path/abc.sh >/dev/null 2>&1