Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Remote Control Your DHCP Connected Laptop from Your iPad' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remote Control Your DHCP Connected Laptop from Your iPad
Authored by: macsadmn on Feb 16, '11 08:30:43AM

You may not have seen my earlier reply:

"As for the launchd suggestion... that crossed my mind in the exact way you mentioned, but I am not familiar enough with launchd to make it happen. I was secretly hoping that someone might know more about launchd than me and post a way to do that. But, you've now forced the secret, hidden agenda, out of me. ;-)"

Honestly, I do think launchd would be the way to go, but I am not familiar enough to make it trigger the script when a network setup event happens. I could use launchd to run the script every X minutes like I do with the cron task, but in that case, there really isn't any advantage to using launchd over cron.

If anyone has a suggestion on how to implement this via launchd when a network setup event happens, I'd be grateful and happy to work with them on it.



[ Reply to This | # ]
Remote Control Your DHCP Connected Laptop from Your iPad
Authored by: tom larkin on Feb 16, '11 11:09:23AM

Take a look at Lingon it will help you learn how to add program arguments, strings, boolean, dictionary items, and all of that into launchd items. However, you are right in some levels launchd in certain application works the same as cron does. I just prefer to always use launchd.



[ Reply to This | # ]