Scripting events on a jailbroken iPod
August 29, 2010 6:45 AM Subscribe
I have a jailbroken iPod with iOS 4. I would like to run a shell script when the device wakes from sleep, or when the wifi interface connects to a certain SSID. What can I use?
Response by poster: I often use a wireless hotspot that uses HTTP authentication, and re-prompts for authentication if the connection hasn't been used in an hour or more. I would use the event to trigger a wget to a known web server using the wireless network's login and password.
I have investigated using cron or launchd, but I'd like something smarter than 'run this script every X minutes'.
posted by harlan at 12:15 PM on August 29, 2010
I have investigated using cron or launchd, but I'd like something smarter than 'run this script every X minutes'.
posted by harlan at 12:15 PM on August 29, 2010
This thread is closed to new comments.
What kind of shell script is it you want to run? Sounds interesting.
posted by kjell at 11:41 AM on August 29, 2010