[Ilugc] crontab like feature

  • From: suraj@xxxxxxxxxxx (Suraj)
  • Date: Wed Jan 12 15:49:06 2005

carti wrote: 
,----
| Is  there any  way  to  automatically telnet  to  a linux  server(with
| username and passwd) and executes the script (put in login script) and
| logouts automatically.
`----

*ugh*  telnet? anyway,  be it  telnet or  ssh, you  can use  an expect
script to do it. search for  'expect script ssh' and you will find out
how to do it. Put the script in a cron job on your local box.

cheers,

  -suraj

-- 
,-----------------[http://www.symonds.net/~suraj/]---o
| Veena Balachander taught himself the veena!
`------------------------------[suraj@xxxxxxxxxxx]---o

Other related posts: