Hi, Geoff.  If you want to cron it, try....
   crontab -e
add a line to the bottom that says....
   0,4,8,12,16,20,24,28,32,36,40,44,48,52,56 * * * * /etc/ping -c 5
192.168.1.1 >/dev/null 2>&1

Or, if you just want to run it from the command line, try creating the
following file.  I named it pingalot in the command that follows.

    #!/usr/bin/ksh
    while :
    do
       ping 192.168.1.1 -c 5
       sleep 240
    done

command:
    nohup ./pingalot >/dev/null 2>&1 &

I hope this helps.

Alex Paschal
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail
(503) 745-5091 fax

-----Original Message-----
From: Gill, Geoffrey L. [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 2:49 PM
To: [EMAIL PROTECTED]
Subject: Little help


I've been asked to set up a job, cron, on the ADSM server that pings out a
specific IP to another IP on the network. It needs to run for about 5
seconds once every 4 minutes. Since I don't have any books here to help me
and I'm not AIX literate, yet, can someone please help me. I just need
something I can run from the command line once that will start the job, I
don't care if it doesn't restart if the server happens to need a restart. I
can always restart it. I guess I'll need a way to kill it in case  too.

The network folks are troubleshooting something that's why I need to make
this run....in case you were curious...

Please be specific if you can, I really have no clue.....yet....but I'm
getting there.

Thanks for the help....

Geoff Gill
NT Systems Support Engineer
SAIC
Computer Systems Group
E-Mail:   [EMAIL PROTECTED]
Phone:  (858) 826-4062
Pager:   (888) 997-9614

Reply via email to