I have a expect script which does rlogin to a remote box and runs a script there on remote box.. when i run it from command prompt it runs fine... but when i run it from crontab it does not... it gets stuck when expecting a password..
can anyone help me on this please ?
=== SCRIPT =====...
Hi,
I got your reference from a website while looking for a solution of a problem.
here is the problem:
I have a expect scrips which does rlogin and then runs a script there.
on sun solaris box "a12345", i have a scripts
#!/usr/bin/expect
eval spawn rlogin b12345 -l testuser...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.