how to schedule restart Cisco Router at everyday midnight?

how to schedule restart Cisco Router at everyday midnight?
nainasipraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MattCommented:
Try this:

event manager applet router-reload
 event timer cron name reload-timer cron-entry "0 2 * * 1,4"
 action 1.0 syslog msg "Initiating periodic reload"
 action 2.0 reload

In this example router reloads every 1st and 4th day in week, at 02:00. Cron is composed out of five parameters, separated by space:

min hour date month day-of-week

More help here: http://ciscoaspirants.com/2011/10/15/embedded-event-manager/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
duncanb7Commented:
You can use Cisco IOS Kron  and Kiwo-cattols  for free trial version for testing example
that describled at this link
http://write.keinism.com/2008/04/07/cisco-scheduled-task-options-kron-and-kiwi-cattools/
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-3s/asr1000/cns-xe-3s-asr1000-book/cns-cmd-sched.html

Hope unserstand your question completely.If not , please pt it out

Duncan
0
Joshua1909Commented:
Hi,
Matt's commands are correct, you will also need to configure EEM to run with credentials on the router.

(config)# event manager session cli username "LocalRouterUsernameHere"
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.