[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cron Errors in Root's Mail



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 redhat com>  - 4.1-3
 
- Fixed bug 128701: cron fails to parse user 6th field in
- system crontabs (patch15)
 

Bob...

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]