On Fri, Apr 14, 2006 at 02:58:58PM -0400, Michael Johnson wrote: > On Apr 14, 2006, at 2:47 PM, inode0 wrote: > >On 4/14/06, inode0 <inode0@xxxxxxxxx> wrote: > >>On 4/14/06, Michael Johnson <mjohnson@xxxxxxxxxxxx> wrote: > >>>On Apr 14, 2006, at 12:06 PM, Ed Wilts wrote: > >>>>IMHO, Red Hat got this wrong... Have a look at the cron job that's > >>>>supposed to generate the catalog and you'll see how they screwed it > >>>>up. > I think that's the bonehead thing Ed was talking about. So if it > runs every day with the default configuration, it will do absolutely > nothing since the -e is on the root. This is what I was talking about: [root@pe400 ~]# cat /etc/cron.daily/slocate.cron #!/bin/sh . /etc/updatedb.conf [ "$DAILY_UPDATE" != "yes" ] && exit 0 renice +19 -p $$ >/dev/null 2>&1 /usr/bin/updatedb If DAILY_UPDATE isn't set to yes in /etc/updatedb.conf, the cron job exists without doing anything. -- Ed Wilts, RHCE Mounds View, MN, USA mailto:ewilts@xxxxxxxxxx Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list