01-23-2013 02:37 PM
We are running a TCL script via a cron job with no issue, every 2 minutes and it working like a bomb.
When i try run the script manually via the event manager run xxx.tcl it say that it is not registered?
When i check the sh event manamger policy registed it says it is?
Any ideas?
Regards
Noel
01-23-2013 02:48 PM
You can only run EEM policies manually that are registered using the none event detector. Take a look at the Testing section of this doc:
https://supportforums.cisco.com/docs/DOC-12757
If you can support multiple events and you register your policy using both the timer and none EDs, then you can run adhoc tests as well.
02-07-2013 10:17 PM
Hi Guys,
How to write tcl script and kron jobs that will backup the router config every 60 minutes.
CF
02-08-2013 07:19 AM
You don't need kron or Tcl for this. You can use the built-in config archive feature of IOS:
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t7/feature/guide/gtrollbk.html#wp1100253
If you do want to go the scheduled route with EEM, start a new thread for your issue.
02-16-2013 09:53 AM
you can do with this
!
kron occurrence BACKUP_TIME in 30 recurring
policy-list BACKUP_POLICY
kron policy-list BACKUP_POLICY
cli copy run start
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide