Saturday, March 31, 2012

cron job standard output and error out

If the standard-output and standard-errors are not redirected anywhere, the STANDARD O/p and ERROR will go in mqueue . This will cause huge activity in /var/spool/mqueue and is one of the reason of slowness in the server due to huge activity on /var/spool/mqueue.
Example :-

05 03 * * *  /SECUPW/UPW_SCRIPT_AREA/zip_Log_proc.sh 2>/dev/null 1>/dev/null

No comments:

Post a Comment