View Full Version : 10.3 Login Items Delay

Jan 17, 2004, 07:47 AM
Question: anybody know of a way to have the login items delayed before launching a certain amount of time?

My problem is that I have a saved Terminal file that is in the login items that starts up, changes a dir, and starts up a server app. It's been working great.

However, lately the server app now connects to a remote mysql database, and it seems the terminal file is been started before the airport even kicks on and I get a database not found error.

If there was a way to make it so the terminal app doesn't start for like 30 more seconds, everything will be cool.

Is there a way to change the login item start time? Or perhaps advice on an alternative?


Jan 17, 2004, 10:02 AM
You can probably do this with an Apple Script. Don't ask me how but you should be able to include that terminal file in an Apple Script and set it to open after like lets say 10 seconds or so. Then just put the Apple Script in the login items or you can put the script on the desktop and just double click on it when you login. That should work.

Maybe someone else can help you with Apple Scripts. I really wish I knew more about how to make them, but I don't.

Jan 17, 2004, 10:15 AM
Are you set up to automatically login? Or do you use the Login Screen?

I would assume that if you used the login screen the airport signal would be detected first, and your Login Item would not execute till you login.

Jan 17, 2004, 10:16 AM
Auto login. I'm playing with applescript and I think I might have figured something out that'll work. Let's see....

Westside guy
Jan 17, 2004, 02:39 PM

#sleep for 30 seconds
sleep 30

open -a app1
open -a app2
open -a app3