script for auto reboot/reset "USB Power Reset"

Hello everyone i hope next year is better for all of us :slight_smile:

Anyway, Iam looking for script for auto reboot/reset “USB Power Reset”, or you guys have another idea, coz my lte1 connection WAN is getting better when I do USB power Reset once a day.

Big thanks,

/system scheduler add name=usb-reset start-date=jan/1/2021 start-time=03:27:19 interval=1d on-event={/system routerboard usb power-reset bus=0 duration=30s}

On some Routerboard models, the bus parameter may be omitted, on others it is mandatory and has to identify the USB bus where the modem is, Find whether it is necessary at all and if yes, what is the correct value (0..5?) by trying to issue the command manually.

it works, thats all i want. thanks sindy