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.
"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."
kron can do some of that . Not sure what you have to have for code , think it is at least 12.4 code .
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
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
Your answer lies in the "Know your limitations" sections of the above URL provided by Bret.
"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."
Thanks for the rating.