05-11-2009 04:05 AM - edited 03-06-2019 05:39 AM
Hello,
I would like to know if it is possible to schedule jobs on a cisco router which execute certain commands on certain times.
Thanks!
Solved! Go to Solution.
05-12-2009 02:30 PM
"You can only use privileged-mode commands with kron; it doesn't allow any Global or Interface configuration commands. This is because it executes each command separately."
05-11-2009 04:31 AM
kron can do some of that . Not sure what you have to have for code , think it is at least 12.4 code .
05-11-2009 04:51 AM
The IOS can schedule commands. Here is a nice article detailing how to do that:
http://articles.techrepublic.com.com/5100-10878_11-5553313.html
05-12-2009 02:48 AM
I've made the following kron job, but it doesnt function. Can anyone tell me why? This is just a test, but this should work right?
kron occurrence test at 12:21 recurring
policy-list TEST
!
kron policy-list TEST
cli enable
cli config terminal
cli int lo 500
cli ip add 9.9.9.9 255.255.255.255
cli exit
05-12-2009 03:01 AM
Your answer lies in the "Know your limitations" sections of the above URL provided by Bret.
05-12-2009 02:30 PM
"You can only use privileged-mode commands with kron; it doesn't allow any Global or Interface configuration commands. This is because it executes each command separately."
05-14-2009 06:10 PM
Thanks for the rating.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: