Thread: scripts
View Single Post
  #5  
Old 08-13-2006, 10:03 AM
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
nohup is a Unix command that prevents a command from aborting when its parent process exits. So, you'd do something like:

#!/bin/sh
nohup /bin/bash -c "sleep 10; osascript /a/path/to/some/script/file" &

That'd put a background process in place that would sleep for 10 seconds, then run a script.
__________________
--Dave Nanian
Reply With Quote