hi all , being my first post this is really basic but i couldn not figure it out in os x.
this is what i want to do :
1.run the following telnet command every hour starting 10.10 pm till 7.10 am
192.168.1.1 23
WAIT "login"
SEND "admin\m"
WAIT "Password"
SEND "admin\m"
WAIT "#"
SEND "reboot\m"
WAIT "#"
2.(not by telnet)at 8.00 am i want the system to automatically shut down.
i tried using cron command but could not make up a script for telnet(i mean i dont know,i am still a wekk old in the world of unix!)
plz explian step by step ,the cron or expect commands for these and also making a script in os x.
please help me in setting these thngs right, otherwise i would have to move on to windows xp/vista which i dont like!