In order to run updates periodically, create one scheduler entry using System -> Scheduler window. Give them names of script files without extensions: Update it it with your email:Īdd scripts using System -> Scripts window. Script system-email.rsc contains email of updates email recipient. Maybe your "wait for internet connection" logic will be different. Instead of pppoe-client there could be ppp-client, ovpn-client, or else. interface pppoe-client monitor $connection If your WAN is not PPPoE, set your type of connection at line 19: Connection name is set in local variable which you need to update with your connection name: Current version of the script checks PPPoE connection state. The scripts waits when Internet connection established and then continues update. That's why WAN status check exists in system-upgrade.rsc script. Email notification requires internet connection to send notifications. Update process requires reboots after RouterOS and firmware updates. Or use terminal and /tool email commands. You can configure it once using Email Settings of WinBox or WebFig by opening:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |