Re: Programatically disable TimeMachine & Spotlight agents
Re: Programatically disable TimeMachine & Spotlight agents
- Subject: Re: Programatically disable TimeMachine & Spotlight agents
- From: Mike Abdullah <email@hidden>
- Date: Tue, 13 Nov 2007 15:17:23 +0000
On 13 Nov 2007, at 14:55, Pleasant Software for the People wrote:
Hello,
I can't find anything on this in the documentation or in the list
archives:
Is it possible to temporarily disable TimeMachine and Spotlight?
Background: I'm doing multitrack audio recording in one of my
applications. During the recording process the hard disk (and the
CPU) is obviously quite busy.
To avoid performance problems I'd like to disable TimeMachine
temporarily as long my application records to prevent the system to
start it's backup cycle in the middle of my recording session.
Besides the additional work load on the hard disk and CPU, the
backup process also produces a lot of noise when accessing the hard
disks which might be disturbing in a live recording situation.
Same thing with the indexing process of Spotlight. Although this one
doesn't occur as often as the hourly TimeMachine backup (once a day
as far as I know?), it would be nice to disable it also.
I have no idea about if you can disable either of these. But I feel I
should point out that Spotlight does not carry out its indexing once a
day. The index is updated in realtime as the files on disk change.
Maybe a good solution would be some kind of
"DoNotBackupWithinTheNext5Minutes" function or something like this.
One could call this once in a while during critical processes
(recording in my case) and in case of an application crash (or
something else which prevents the app from "re-enabling" the
backups) TimeMachine automatically resumes its work after 5 minutes
(or whatever the timeout would be).
Cheers
Eberhard
--
Eberhard Rensch
Pleasant Software
Offenburg, Germany
email: email@hidden
http://www.pleasantsoftware.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden