Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
Subject: application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
Subject: X Windows problem (xauth)
Subject: Upgrading openoffice 1 1 rpm
Subject: FTP: connection refused
Subject: FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
Subject: broadcom network interface
make mrproper
Couldn 't open PID file /var/run/named/named pid Permission denied
sendmail configuration on redhat
kernel 2 6 and /dev/sound/mixer not found
Subject: Promise 378 controller
Subject: Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
Subject: Lotus Notes under Wine
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
/etc/security/limits conf question
Intel E/1000 driver
rpm database corrupt
Command stream end of file while reading
qla2300 modules
 
Cron reporting root command not found

Cron reporting root command not found

2007-07-12       - By Oliver Schulze L.

 Back
Reply:     1     2     3     4  

Change 'crontab -l' to this:

*/10 * * * * /usr/lib/sa/sa1 1 1
53 23 * * * /usr/lib/sa/sa2 -A

All lines in /etc/crontab or /etc/cron.d/* should specify
the user, but the lines from crontab -l (/var/spool/cron/)
does not need to have the user

HTH
Oliver



d.qureshi@(protected) wrote:
> When I do crontab -l it displays this below:-
>
> [root]# crontab -l
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.8354 installed on Thu Jun  7 12:24:34 2007)
> # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp
> $)
> # 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
> # Cron job to track current date, memory usage and running processes
> #0-59/10 * * * * /root/memmon.sh >> /root/memmon.log
> [root]#
> [root]#
> [root]#
>
> When I look at /etc/crontab it displays this below:-
>
> [root]# cat /etc/crontab
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> [root]#
>
> Does this give you a more details why I am getting a problem with cron?
>
>  
--
Oliver Schulze L.   | http://tinymailto.com/oliver  
Asuncion - Paraguay | http://www.solojuegos.mobi    

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list