Mikrotik Automatically Upgrade you router firmware & OS

You can automate the upgrade process by running a script in the system scheduler. This script queries the MikroTik upgrade servers for new versions, if the response received says "New version is available", the script then issues the upgrade command:

/system package update
check-for-updates once
:delay 3s;
:if ( [get status] = "New version is available") do={ install }