The Command Scheduler (KRON) Policy for System Startup feature enables support for the Command Scheduler upon system startup.
The Command Scheduler allows customers to schedule fully-qualified EXEC mode CLI commands to run once, at specified intervals, at specified calendar dates and times, or upon system startup. Originally designed to work with Cisco Networking Services commands, Command Scheduler now has a broader application. Using the Cisco Networking Services image agent feature, remote devices residing outside a firewall or using Network Address Translation (NAT) addresses can use Command Scheduler to launch CLI at intervals, to update the image running in the device.
Command Scheduler has two basic processes. A policy list is configured containing lines of fully-qualified EXEC CLI commands to be run at the same time or same interval. One or more policy lists are then scheduled to run after a specified interval of time, at a specified calendar date and time, or upon system startup. Each scheduled occurrence can be set to run either once only or on a recurring basis.
How to Configure Command Scheduler (Kron) Here i explain how to reload your router every week on certain time.
First, create a kron policy list. Essentially, this policy list serves as your "script," which lists what you want the router to run at a scheduled time. Here's an example:
Go to global config mode
Router (config)# kron policy-list reload-weekly
Router(config-kron-policy)# cli reload ==èThis “reload” what cli command you would like to execute here we are doing reload
Router (config-kron-policy)# exit
Next, create a kron occurrence, in which you tell the router when and how often you want to run this policy list (i.e., group of commands). Here's an example:
Router (config)# kron occurrence reload-weekly at 07:00 Mon recurring ==èSpecify the date and day (if you want to do it on recurring type recurring)
I have a Login Banner for our Jabber Clients that pops-up after users log in to the client, it stays up on the screen but it doesn't prevent users from using Jabber even if they ignore to acknowledge it. Is there a way to set the banner to prevent use unt...
Hello all. We are looking at installing some Room Kit Pro devices and I wanted to confirm a few things. 1) When I am not in a call can I choose to pass one of the HDMI inputs (our conferencing PC for example) to the display using the Touch 10? It wou...
Hello Community, Currently, I'm dealing with an issue in which my JVDI client application is experiencing high CPU utilization, leading ThinPro's utilization to rise to 100%. I have an open Cisco TAC case, but I was wondering if anyone in the communi...
Hi Gents,I have a setup of CUCM---SIP Trunk--->CUBE(ISR4331)---SIP Link--->SIP Provider.provider asks to change the Min-se and and session expiry to the following values: min-se 90 session-expires 300, so I applied sip profiles to tune these va...