PDA

View Full Version : Automatic, non-scheduled backups...


lyda
11-04-2007, 08:31 PM
I have a laptop that I'd like to fire off a backup every time it sees it's connected to a backup volume.

I see that by running cronjob -l that SD! puts cron entries into my crontab. Would it be possible to change them so that there's a "mount | 'grep /Volumes/vol name here' &&" bit run before the "open ...." command?

lyda
11-04-2007, 08:32 PM
Oh, and obviously set the command to run every 10 minutes or so.

dnanian
11-04-2007, 09:48 PM
You could also follow the general steps in the "One Touch Button" FAQ, but use "Do Something When" (see VersionTracker) to run the script rather than the button...

lyda
11-05-2007, 02:58 AM
I linkified your answer. Thanks - and as a new SD! customer thanks for a great piece of s/w!

You could also follow the general steps in the "One Touch Button" (http://www.shirt-pocket.com/forums/showthread.php?t=993&highlight=onetouch+button) FAQ, but use "Do Something When" (http://www.azarhi.com/Projects/DSW/) (see VersionTracker) to run the script rather than the button...