How to schedule for a repeated task?
On Sat, May 1, 2010 at 10:10 AM, hadi motamedi <firstname.lastname@example.org> wrote:
> Dear All
> I need to schedule for a repeated task on my CentOS server, as the
> -) Telnet to a remote node
> -) Issue a command
> -) Capture the output in a log
> -) Logout from Telnet
> -) Wait for a prescribed time interval
> -) Then redo , but append the subsequent output in just on file
> Can you please let me know which options do we have to write such a task?
> Thank you
Use cron to schedule the tasks.
if you need to automate an interactive command you can use expect 
CentOS mailing list