Shirt Pocket Discussions

Shirt Pocket Discussions (https://www.shirt-pocket.com/forums/index.php)
-   General (https://www.shirt-pocket.com/forums/forumdisplay.php?f=6)
-   -   Automatic, non-scheduled backups... (https://www.shirt-pocket.com/forums/showthread.php?t=3112)

lyda 11-04-2007 08:31 PM

Automatic, non-scheduled backups...
 
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!

Quote:

Originally Posted by dnanian (Post 15221)
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...



All times are GMT -4. The time now is 04:56 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.