Re: [ANN] Shovel - Third-Party "Software Update"
Re: [ANN] Shovel - Third-Party "Software Update"
- Subject: Re: [ANN] Shovel - Third-Party "Software Update"
- From: Alastair Houghton <email@hidden>
- Date: Tue, 30 Mar 2004 16:22:28 +0100
On 30 Mar 2004, at 16:11, Jim Rankin wrote:
>
>
On Mar 29, 2004, at 3:48 PM, Alastair Houghton wrote:
>
>
> The locate database is very useful, but IMO it isn't something you
>
> should rely on from code, at least not on Mac OS X.
>
>
>
Would it be possible for the application to tell locate to update it's
>
database, or set the cron job for the user? First time might be slow,
>
but should be quick after that, right?
The cron job is already set-up, but it doesn't run until 4:30am on
Saturday (if I remember correctly). Most Macs are asleep or off at that
time. I don't think it's a good idea for apps to tinker with existing
cron jobs as a rule, although I'm happy enough for apps to install new
cron jobs of their own if necessary. Put another way, my
daily/weekly/monthly cron jobs are already reconfigured, and I would be
annoyed if an application messed that up or changed the configuration
without asking first.
As for speed, I'm not sure how fast the locate.updatedb command is I
would have thought it would be slow *every* time, not just the first,
since it still has to search every directory in every filesystem to see
if there are any new files. That, I would imagine, is why it only runs
once a week and in the very hours of the morning at that.
Kind regards,
Alastair.
--
http://www.alastairs-place.net
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.