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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-> 
-> 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 

Oh I forgot, I do it this way too, you may need a second chicken for this
one though.

0,15,30,45 * * * * /usr/local/sbin/somescript 1>/dev/null 2>/dev/null

Ymmv  ;->

 - rh

--
Robert - Abba Communications
   Computer & Internet Services
 (509) 624-7159 - www.abbacomm.net

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux