Hello everyone and sorry for my english.
I have a RB951G with a raspberry connected to usb for powering.
In netwach there is a job that checks if the raspberry is working, if down runs a script:
if (([/system clock get time] > "06:30:00") && ([/system clock get time] < "22:30:00")) do={[/system routerboard usb power-reset duration=5]}
If a run the script in terminal works fine, but in netwatch I have to disable and re-enable the job for it to work, if raspberry doesn't works the job does nothing.
Any help, thank you.