View Single Post
  #18  
Old 12-07-2005, 08:47 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Well, a few things I can think of.

First, set it to run with cron well after the start of the copy -- giving it long enough to work.

Second, you could use the "On successful completion" shell script in Advanced, but then it'd only run if successful.

Finally, you can run from the AppleScript using both of the two completion script blocks designed for this purpose (on afterRunningCopy and on errorRunningCopy). If you want to use the shell script, you'd use "do shell script" in there.

Note that you don't have to hardwire the backup path with this method, because "path to me" will give the path into the package (it'll actually be inside the Copy Job package)...
__________________
--Dave Nanian
Reply With Quote