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)
Ask Me Anything Forum
Cisco Unified Communications Manager CUCM Installation & Upgrade
Cisco Unified Communications Manager (Unified CM) provides reliable, secure, scalable, and manageable call control and session management. Transform your workspace...
When I run the Cisco Finesse Agent Not Ready reason Code Summary report, the text values of the reasons do not display. Is there a translation table for the codes to text? Is this something my IT/Phone Support person is supposed to customize? The codes al...
Hi guys,I am trying to implement Webex App Mobile (iPhone) MRA, and I have a couple of questions trying to configure Control Hub.For instance. My Control Hub Domain is:testhome.comThis is the domain I use to sign into the Webex App (iphone) "ju...
Hello all (again), Recently i posted about configuring voip on my classes lab network. I got a lot of helpful feedback and tips to help point me in the right direction. Today, i made my first voip call. It was amazing (thank you for the help). But, i...