What is the simplest method of rebooting RB when log topic = ‘gsm, error’
RB used to work fine for 2-3 months without rebooting.
For some time (new packages?), several times a week I got logs like this:
Sep/04/2017 16:13:51 gsm,error sms send failed: missing port value
Sep/07/2017 08:20:24 gsm,error unable to load unread sms: cannot open port
hi strods, i’m trying to make that work but shouldn’t it looks more like this?
if ([:len [/log find where topic=“gsm, error”]] > 0) do={
:execute script=“/system reboot”
}
instead of /system logging find where topic~“gsm,error”]
?
anyway, both options do not work