Cron Errors in Root's Mail

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Jul 30 23:13:29 UTC 2004


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


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp 
Serendipity 01:11:48 up 4 days, 10:18, load average: 0.45, 0.46, 0.36 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20040731/eae6a01a/attachment.sig>


More information about the fedora-test-list mailing list