11-08-2009 12:47 AM - edited 03-04-2019 06:38 AM
Hello,
I need to somehow schedule a Cisco 800 router we have at a remote site to reload/reboot every Saturday night, is this possible?
Thanks
11-08-2009 03:41 AM
use the reload command (must have clock set or use ntp):
http://www.cisco.com/en/US/docs/ios/12_1/configfun/command/reference/frd2005.html#wp1018142
example would be:
Router#reload ?
/noverify Don't verify file signature before
/verify Verify file signature before reload
LINE Reason for reload
at Reload at a specific time/date
cancel Cancel pending reload
in Reload after a time interval
warm Reload should be warm
Router#reload at ?
hh:mm Time to reload (hh:mm)
Router#reload at 20:00 ?
<1-31> Day of the month
LINE Reason for reload
MONTH Month of the year
Router#reload at 20:00 14 ?
MONTH Month of the year
Router#reload at 20:00 14 november ?
LINE Reason for reload
manually add the other dates (saturday nights) for your downtime schedules.
11-09-2009 01:25 PM
This is the 3rd time I've seen this. Someone has written an EEM (did I get that correct?) script to do regular reload of an appliance. Try posting this again at the Network Management section.
11-09-2009 05:26 PM
Something as simple as this should work:
event manager applet reload-Staurday
event timer cron cron-entry "0 0 * * 6" name reload_timer
action 1.0 syslog msg "Initiating periodic reload"
action 2.0 reload
This will reload the device every Saturday at midnight (the minute after Friday 23:59).
11-09-2009 06:44 PM
Hi Joe,
I knew this would be in your alley!
11-09-2009 07:39 PM
By the way, instead of event timer cron cron-entry "0 0 * * 6" name reload_timer can you use event timer cron cron-entry @weekly name reload_timer instead?
11-09-2009 07:58 PM
No, that will not reload the device on Saturday. That is equivalent to "0 0 * * 0".
11-09-2009 07:59 PM
Ok. Thanks.
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