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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.