Cron Errors in Root's Mail

Bob Chiodini chiodr at kscems.ksc.nasa.gov
Mon Aug 2 10:11:40 UTC 2004


On Fri, 2004-07-30 at 19:13, Alexander Dalloz wrote:
> Am Fr, den 30.07.2004 schrieb Bob Chiodini um 12:40:
> 
> > The following is showing up in root's mail box every 10 minutes:
> 
> > /bin/sh: line 1: root: command not found
> 
> > This is apparently from the sysstat job found in /etc/cron.d:
> > 
> > # run system activity accounting tool every 10 minutes
> > */10 * * * * root /usr/lib/sa/sa1 1 1
> > # generate a daily summary of process accounting at 23:53
> > 53 23 * * * root /usr/lib/sa/sa2 -A
> > 
> > What does the "root" parameter do (or not do)?  It looks like crond was
> > updated on 26 July.
> 
> It sets that the cronjob is running as user root.
> 
> > Bob...
> 
> Check that you do not have such a line in any /var/spool/cron/$USER
> file.
> 
> Alexander

Thanks for the information.

There was an update to crond that, per the changelog fixed the user
field, the sixth field in the crontab file.

* Wed Jul 28 2004 Jason Vas Dias <jvdias at redhat.com>  - 4.1-3
 
- Fixed bug 128701: cron fails to parse user 6th field in
- system crontabs (patch15)
 

Bob...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20040802/bb253272/attachment.sig>


More information about the fedora-test-list mailing list