This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:router:mikrotik_reboot [2018/11/21 11:09] gcooper |
networking:router:mikrotik_reboot [2018/11/30 11:32] (current) gcooper |
||
---|---|---|---|
Line 16: | Line 16: | ||
< | < | ||
- | /system scheduler add comment=" | + | /system scheduler add comment=" |
on-event="/ | on-event="/ | ||
start-date=nov/ | start-date=nov/ | ||
Line 32: | Line 32: | ||
===== Startup Notification ===== | ===== Startup Notification ===== | ||
+ | |||
+ | Edit this for the **destination e-mail address**, then paste it into a terminal to create a new schedule: | ||
< | < | ||
/system scheduler | /system scheduler | ||
- | add name=Reboot-Notification | + | add name=reboot-notification comment=" |
- | | + | \n/log print file=logfile; |
- | | + | \ndelay 10\r\ |
- | | + | \n/tool e-mail send to=\" |
\ndelay 5\r\ | \ndelay 5\r\ | ||
\n/file remove logfile.txt\r\ | \n/file remove logfile.txt\r\ | ||
\nlog info \" | \nlog info \" | ||
\n/system routerboard settings set silent-boot=no" | \n/system routerboard settings set silent-boot=no" | ||
+ | |||
</ | </ | ||