Some routers get slower or less stable the longer they stay up: a memory leak in an old firmware, a flaky Wi-Fi driver, a connection table that never clears. The real fix is to update the firmware and find the cause, but while you work on that, a reboot at 4 a.m. every Sunday can keep the network healthy and the phone quiet. This note shows how to schedule one with RouterOS itself, so it keeps working even if nothing else on your network does.
Check that a reboot is the right tool
Look at how long the router has been up and how much memory it has left:
/system resource printIf free-memory shrinks steadily over days and recovers only after a restart, a scheduled reboot is a reasonable patch. If the router is simply busy, or the problem appears right after startup, a reboot hides nothing and fixes nothing. Treat it as a mitigation and keep the real cause on your list.
Make sure the router clock is correct
The scheduler uses the router clock, so a wrong clock means a reboot at the wrong hour:
/system clock print
/system ntp client printCheck the time zone and that the NTP client is enabled and synchronized. A router that lost its time after a power cut will otherwise restart in the middle of the afternoon.
Choose the day and the hour
Pick the quietest window for the people who depend on this router, usually between 3 and 5 a.m. A reboot drops every active connection: PPPoE and VPN sessions reconnect on their own within a minute or two, but a video call or a download in progress will not. If you manage several routers, spread them over different hours, so you never restart all of them at the same moment.
Create the scheduler task
This task starts on a given date and time and then repeats every seven days:
/system scheduler add name=weekly-reboot start-date=nov/08/2026 start-time=04:00:00 interval=7d policy=reboot on-event="/system reboot"Set start-date to a date that falls on the weekday you want (the example is a Sunday). For a daily reboot, use interval=1d. The policy=reboot part gives the task only the permission it needs. If you ever want to pause it, run /system scheduler disable weekly-reboot.
Test it before trusting it
Do the first test on a router that nobody is using, or outside working hours. Create a temporary task that fires in two minutes:
/system clock print
/system scheduler add name=reboot-test start-time=HH:MM:00 interval=0 policy=reboot on-event="/system reboot"Replace HH:MM with the current router time plus two minutes. After the router comes back, remove the test and keep the real one:
/system scheduler remove reboot-testConfirm the first real run
The morning after the first scheduled night, check that it actually happened:
/system resource print
/system scheduler print detail where name=weekly-rebootThe uptime should be a few hours and the run-count of the task should be 1. If the uptime is still counted in days, the task did not run: check the clock and the policy of the task.
Mengapa dilakukan seperti ini
A scheduled reboot turns a random failure at the worst moment into a short, planned interruption when nobody is watching. It also gives you a clean baseline: if a problem comes back three days after every restart, you have just learned something about its cause. The risk is forgetting the task exists, so write it down, and keep updating the firmware, because the reboot is a bandage and not a repair.
Bagaimana MoniTik membantu
The Manage section of MoniTik has a Reboot tab where you can restart the router on demand or pick a weekday and a time for a recurring reboot, without opening a terminal. The schedule is stored on the router itself, using the same RouterOS scheduler shown above, so the reboot still happens if MoniTik or the connection to it is down at that moment. This requires the reboot permission for MoniTik's API user, which is included in the onboarding script; a router that was onboarded before this option existed needs that script run again.