|
Determining if connection exists with script
Is there a way to determine if an internet connection is available (through AS or other means) through MortScript or nScriptm?
I have set up a MortScript to run activesync, then run qMail to check my mail. The problem is that the active sync connection through bluetooth sometimes appears really fast and sometimes takes a minute, so qMail doesn't always find a connection. Plus, the bluetooth doesn't connect sometimes at all (I'm having headset woes), then qMail goes through its whole routine unnecessarily. So I'd like it to only run if a connection is avaible. Anyone have any ideas?
|