Programatically disable TimeMachine & Spotlight agents
Programatically disable TimeMachine & Spotlight agents
- Subject: Programatically disable TimeMachine & Spotlight agents
- From: Pleasant Software for the People <email@hidden>
- Date: Tue, 13 Nov 2007 15:55:55 +0100
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.
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