reboot

am new to scripting
can some help me with a script so that my router board reboots every 03:00am every day.

something like

/system scheduler add interval=1d start-time=3:00:00 name="reboot" policy=reboot on-event="/system reboot"

Chupaka, does it also bug you when noobs don’t bother to post a simple “thank you”?

maybe, he just have lost forum’s address? :smiley:

no, I simply play it cool ))

p.s. it’s my 3000th post!!! yahooo!!!

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.

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.

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…