[CentOS] To redirect any message into /dev/null

Fajar Priyanto

fajarpri at cbn.net.id
Mon Sep 25 06:23:57 UTC 2006


Hi all,
I'm running a script in my crontab like this:
*/50 * * * * /root/scripts/keepjobrun 2>&1 > /dev/null

However, crontab always sends a message to root (me) about the above script.
How do I stop it from sending any notification?
Thank you very much,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
1:23pm up 5:18, 2.6.16.13-4-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



More information about the CentOS mailing list