04-25-2008 08:39 AM - edited 03-03-2019 09:42 PM
I have been unable to schedule recurring reloads on my WAN routers. Any suggestions are very much appreciated:
kron occurrence RELOAD at 00:01 Fri recurring
policy-list RELOAD
kron policy-list RELOAD
cli reload
after running, the router drops cli reload command.
04-25-2008 09:55 AM
Keep in mind this: "EXEC commands that generate a prompt or can be terminated using keystrokes will result in an error on execution"
I do not remember if the router asks you to confirm the reload but I suspect it is.
04-25-2008 10:00 AM
Thanks. It does ask to confirm, and i figured that was the problem. I was hopeful there was a work around. Thanks again.
04-25-2008 10:00 AM
...maybe your startup config was not saved and router prompts for 'confirm' ?
04-25-2008 10:02 AM
No, I'm constantly typing wr mem
:)
04-25-2008 10:18 AM
:)
see also if you can use this:
http://www.netcraftsmen.net/welcher/papers/iostcl01.html
might be able to create a tcl script which will not ask you for the prompt. Or use tcl instead of your kron...
01-29-2009 07:44 AM
Sorry, the suggestion I had won't work either, just edited this to remove my idea:(
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