  | | | Cron reporting root command not found | Cron reporting root command not found 2007-07-12 - By Oliver Schulze L.
Back 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
|
|
 |