Cron script dies silently if not redirect to /dev/null

Solution Unverified - Updated -

Issue

  • Script launched by crond is interrupted silently by the system
  • It appears that a script launched by /etc/crontab without redirection of stdout/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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content