Cron script dies silently if not redirect to /dev/null
Issue
- Script launched by
crondis interrupted silently by the system - It appears that a script launched by
/etc/crontabwithout redirection ofstdout/stderrto/dev/nullis interrupted by the system as soon as the output level exceeds a certain limit around 1kB. - There is nothing in
/var/log/cronto indicate this interruption.
Environment
- Red Hat Enterprise Linux (RHEL) 5, 6
- crond
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.