I have a script that changes the root password. It pulls the new password down from a web page (SSL encrypted).
I use launchd to run the script every hour. It also tries to run it at startup. However, I think it is trying to run the script before it has network access.
How can I have launchd wait for the network?
I think it would be an environmental variable that requires the network, but I’m not too sure.
I use Lingon to make my launchd items.
Here is the launchd I use.
[code]
Label
edu.jhuapl.idsmacteam.adminPassChange
ProgramArguments
/usr/local/jhuapl/bin/adminPassChange.pl
RunAtLoad
StartInterval
3600
[code][/code]
Comments are closed