I am trying to write a tcl script that will delete and un-register certain policies in my router every morning, but when I try to upload it to the device it wont work. Here is what I have done so far;
::cisco::eem::event_register_timer cron name crontimer2 cron_entry $_cron_entry
namespace import ::cisco::eem::*
namespace import ::cisco::lib::*
exec "en"
exec "cd RuBAN"
exec "delete syslogsyslog_fresh_install.tcl"
exec "delete syslogsyslog_fresh_install.cfg"
exec "delete marvin_fresh_installMarvinfieldst.tcl"
exec "conf t"
exec "no ev m p syslogsyslog_fresh_install.tcl"
exec "no ev m p marvin_fresh_installMarvinfieldst.tcl"
Is my tcl script wrong in the command I have wrote? Can any shed any insight into this, it would be much appreciated