Page 1 of 1
reboot
Posted: Mon Oct 12, 2009 4:41 pm
by thembo
am new to scripting
can some help me with a script so that my router board reboots every 03:00am every day.
Re: reboot
Posted: Mon Oct 12, 2009 4:45 pm
by Chupaka
something like
/system scheduler add interval=1d start-time=3:00:00 name="reboot" policy=reboot on-event="/system reboot"
Re: reboot
Posted: Sat Oct 17, 2009 9:20 am
by hilton
Chupaka, does it also bug you when noobs don't bother to post a simple "thank you"?
Re: reboot
Posted: Sat Oct 17, 2009 4:41 pm
by Chupaka
maybe, he just have lost forum's address?
no, I simply play it cool ))
p.s. it's my 3000th post!!! yahooo!!!!!
Re: reboot
Posted: Sat Oct 17, 2009 6:45 pm
by brakmaren
Hi.
Just out of curiosity, why would you want to do that, reboot every day that is.
I'm a noob, so just out of interest...
Thanks.
Re: reboot
Posted: Sat Oct 17, 2009 9:05 pm
by fewi
Some people have an ISP that doesn't cache DHCP leases like to get a new IP every day and a reboot is a simple way to do that. Others have configuration issues that only show symptoms after the router has run for a while and don't want to fix the underlying issue and are happy to bandaid by just rebooting frequently.
Re: reboot
Posted: Sun Oct 18, 2009 9:23 pm
by brakmaren
Ahh, i get it.
The first one that is (dhcp), the second one seem to just be 'wrong'.
Why would you want a faulty system ???
But everybody is different i guess.
Thank's for the explanation...