Expect scripts are very useful for automating interaction with other processes. But the usage of expect as shown in this post, might be not very handy when required to be run as a cron or in the background.
So, here's an alternative with a small tweak:
Cheers!
So, here's an alternative with a small tweak:
Cheers!
I can not thank this post enough for helping me learn how to use expect in the background. This blog has helped me a number of times.
ReplyDelete