[Ilugc] crontab like feature

  • From: suraj@xxxxxxxxxxx (Suraj)
  • Date: Wed Jan 12 15:57:41 2005

Suraj wrote: 
,----
| *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.
`----

Or even plain ssh like this in your local crontab:

10 * * * * ssh remote.host 'command here'

With the  above you could have  a 'passphraseless' ssh  key. But thats
not a good  thing to do. If you  dont care, you can. Or if  you give a
damn about doing it securely you could as well use 'rsh'. man rsh.

cheers,

  -Suraj

-- 
,-----------------[http://www.symonds.net/~suraj/]---o
| MS Subbulakshmi was the first Carnatic musician to perform at the UN
| .
`------------------------------[suraj@xxxxxxxxxxx]---o

Other related posts: