Cron script dies silently if not redirect to /dev/null
Issue
- Script launched by
crond
is interrupted silently by the system - It appears that a script launched by
/etc/crontab
without redirection ofstdout/stderr
to/dev/null
is interrupted by the system as soon as the output level exceeds a certain limit around 1kB. - There is nothing in
/var/log/cron
to 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.