Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > kron every 5 minutes

Reply
Thread Tools

kron every 5 minutes

 
 
Knut Rauscher
Guest
Posts: n/a
 
      11-27-2004
Hello,

How do I get it, which kron me every 5 minutes a
"clear host *" implements?

Knut sends

kind regards
--
Unix ... if I have to explain, you wouldn't understand!
 
Reply With Quote
 
 
 
 
Arnold Nipper
Guest
Posts: n/a
 
      11-27-2004
On 27.11.2004 11:41 Knut Rauscher wrote

> Hello,
>
> How do I get it, which kron me every 5 minutes a
> "clear host *" implements?
>


Install rancid/clogin [0] and have a 'clogin -c "clear host *" $router'
fired off by your unix host via cron.

Just out of curiosity: why dou you need this?



Arnold
[0] http://www.shrubbery.net/rancid/
--
Arnold Nipper, AN45
 
Reply With Quote
 
 
 
 
Aaron Leonard
Guest
Posts: n/a
 
      11-29-2004
On Sat, 27 Nov 2004 11:41:34 +0100, Knut Rauscher <(E-Mail Removed)> wrote:

~ Hello,
~
~ How do I get it, which kron me every 5 minutes a
~ "clear host *" implements?
~
~ Knut sends
~
~ kind regards

This is pretty straightforward:

kron occurrence FOO in 5 recurring
policy-list FOO
!
kron policy-list FOO
cli clear host *

I tested this in 12.3(7)T6 and it seems to work.

Cheers,

Aaron
 
Reply With Quote
 
Hansang Bae
Guest
Posts: n/a
 
      11-30-2004
In article <(E-Mail Removed)>, http://www.velocityreviews.com/forums/(E-Mail Removed)
says...
> This is pretty straightforward:
>
> kron occurrence FOO in 5 recurring
> policy-list FOO
> !
> kron policy-list FOO
> cli clear host *
>
> I tested this in 12.3(7)T6 and it seems to work.


*IF* you're brave enough to run 12.*3*-T train!


--

hsb

"Somehow I imagined this experience would be more rewarding" Calvin
*************** USE ROT13 TO SEE MY EMAIL ADDRESS ****************
************************************************** ******************
Due to the volume of email that I receive, I may not not be able to
reply to emails sent to my account. Please post a followup instead.
************************************************** ******************
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kron scheduling cmd Cisco 2 01-29-2007 02:13 PM
How do I use KRON to reload a router? Martin Cisco 3 11-26-2006 10:43 PM
Running TCL from cisco kron rm-throwaway4@gunlab.com.ru Cisco 0 12-20-2005 10:43 AM
Running ping with kron Patrick A Cisco 9 04-09-2005 07:18 AM
Running ping with kron Andreas Tikart Cisco 0 06-28-2004 08:12 AM



Advertisments