nfsfan Posted May 4, 2007 Share Posted May 4, 2007 hi frnds i need to put telnet commands on a schedule for every hour.basically i have to restart my router(192.168.1.1) every hour and just wait for it for asking the username and password before telling it to reboot.if someone could plz throw some light on how telnet commands can be automated,that would be helpful.here is what i do in windows : 192.168.1.1 23 WAIT "login" SEND "......\m" (enter your login ID here) WAIT "Password" SEND "......\m" (enter your password here) WAIT "#" SEND "reboot\m" WAIT "#" Link to comment Share on other sites More sharing options...
A Nonny Moose Posted May 5, 2007 Share Posted May 5, 2007 Sounds like a job for AppleScript, but as for the hourly thing...well, outside of making a ton of iCal reminders, I don't know what to do. Link to comment Share on other sites More sharing options...
lord_muad_dib Posted May 5, 2007 Share Posted May 5, 2007 do not open several threads for the same problem...continue on the first one i replied in the other to use cronjob, it's easy closing Link to comment Share on other sites More sharing options...
nfsfan Posted May 5, 2007 Author Share Posted May 5, 2007 sorry for that,i just forgot that i had made a thread earlier too. Link to comment Share on other sites More sharing options...
Recommended Posts