I'm using the sendmail.tcl script template from the Embedded Event Manager (EEM) Scripting Community (http://forums.cisco.com/eforum/servlet/EEM?page=search_results&fn=search&count=20&skip=60&catId=0&keywords=&sortBy=3&order=DESC&mode=browse). I would like to schedule the script to run once a month, but I can't figure out how to do so. The template includes the following line:
#::cisco::eem::event_register_timer cron name test cron_entry "0 * * *" queue_priority low nice 1 maxrun 20
I haven't been able to find any documentation on how to use cron in combination with a tcl script stored in the flash of the router. I tried simply removing the "#" to uncommend the line, and then re-registered the policy, but to no avail. My goal in doing all of this is to have the router email me with the "show tech" output once a month. I'm just missing the automation part at the moment. Thanks!