SCIENTIFIC-LINUX-USERS Archives

August 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ioannis Vranos <[log in to unmask]>
Reply To:
Ioannis Vranos <[log in to unmask]>
Date:
Thu, 18 Aug 2005 05:51:45 +0300
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Michael Mansour wrote:
> The following is what is run daily in cron:
> 
> # 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
> 
> I don't see any reason why you would want to run it during boot.


To have an up to date index of files.


> If you wish
> to manually run it at any time, just use:
> 
> # updatedb&



If I make the "$DAILY_UPDATE" = "yes" in the above, will it make updatedb running each 
time on boot?

ATOM RSS1 RSS2