PDA

View Full Version : scheduling backup 'when backup volume is available'


ChrisRyland
10-13-2006, 11:21 PM
I wonder if the following would be a feature that others would find useful.

I've set up my daughter's G4 PB to backup nightly at 3am to a 1GB USB flash drive. The problem is that machine is usually off at night (she's pretty mobile, and thus it's never really sitting on a desk), so backups won't happen much of the time.

What would be ideal if there were some way to mark a given script to run at a given time, but falling back to 'when backup volume is available', leaving SD running all the time in the background. Then, when she inserts the flash drive at whatever time she remembers to do it, the backup would start right away. (Is there some API for SD to be notified when volumes mount? I suppose busy-checking once a minute would be good enough.)

Thanks.

dnanian
10-14-2006, 10:25 AM
How about using Peripheral Vision to do this? Just use the OneTouch Button FAQ entry's general steps, but instead of attaching the button to the little executable, tell Peripheral Vision to run it when the drive is mounted.