[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to schedule for a repeated task?







Try adding:

expect "% "

or whatever the command prompt is, such as "$ " or "# " before sending the
commands.



Thank you for your reply. You were right . So I added the following :
>expect "->"
So it will wait for the system prompt . But still I cannot see any output from result of issuing 'cmd1' on the remote node . Can you please give me another hint?



Reply to: