How do I use KRON to reload a router?

Nov 26, 2006 3 Replies

I know Kron can't do interactive commands and usually a reload command prompts for a Y or a N - is there a way to schedule reloads on a router?



cheers martin


evil_homer#reload ? LINE Reason for reload at Reload at a specific time/date cancel Cancel pending reload in Reload after a time interval

evil_homer#reload at ? hh:mm Time to reload (hh:mm)

somethibng like:

config t kron occurrence RELOAD at 6:30 December 1 oneshot policy-list RELOAD exit

kron policy-list RELOAD cli reload exit

end

wri mem

show kron schedule

thanks guys - exactly what i needed (-;

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required