Bug 61508

Summary: cron pretends to run jobs
Product: [Retired] Red Hat Linux Reporter: Michal Jaegermann <michal>
Component: vixie-cronAssignee: Jens Petersen <petersen>
Status: CLOSED CURRENTRELEASE QA Contact: Beth Uptagrafft <bhu>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-25 14:16:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Jaegermann 2002-03-20 21:13:12 UTC
Description of Problem:
In a fit of a desperation after various attempts to find out why cron
does not run my jobs I ended up with the following script in
/usr/local/sbin/try_this

#! /bin/sh

data=$(
echo ======
/bin/date
echo ======
)

echo "Subject: try this
$data" | /usr/sbin/sendmail root

It does not matter if I installed that with 'crontab -e' or by directly
editing /etc/crontab to execute every minute no mail was forthcoming.
/var/log/cron has all entries of 
"CROND[30595]: (root) CMD (/usr/local/sbin/try_this)" sort every minute
but nothing happens.

After reinstalling vixie-cron from the previous beta (ostensibly the same
version) cron started to work once again and I have lots of mail.

Version-Release number of selected component (if applicable):
vixie-cron-3.0.1-63

Comment 1 Beth Uptagrafft 2002-04-19 20:16:46 UTC
This will be fixed in the next delivery.