function wakeIphone() { exec("bash /opt/IphoneD.sh") } schedule ("*/1 * * * *", function(){ wakeIphone(); });