How to Automatically Upgrade your Mikrotik router firmware & OS?

By automatically updating our version of Mikrotik Devices and updating the router board, we can make our devices work more stable.
In addition, by doing this in a period of low traffic, we can ensure that our customers are least affected.  We add the following scripts by pasting them in the new terminal part of our MikroTik device.

Scheduler Package upgrade

If you want your router to be updated every 7 days at 5:10 am, you can edit the date and use this script:

Scheduler Routerboard Upgrade

Performing the update of the Routerboard at 5:20 in the morning on the same day, that is, 10 minutes after the package update, will enable it to work more smoothly in terms of the system.

The output of our scripts on our Mikrotik device will look like the following.

How to Automatically Upgrade your Mikrotik router firmware & OS?
How to Automatically Upgrade your Mikrotik router firmware & OS?

I hope it was a useful article.