I would like to reboot my network camera periodically by executing the following URL: http://admin:password@192.168.0.5/form/reboot
Can i write a script in RouterOs that would execute the above URL (reboot the network camera), and how to do it?
Lookup the fetch command. You can write a script with a single line that basically just fetches that URL… use scheduler to schedule when you want to reboot it.
Cool, it worked. Is there something like a “sleep” or “wait” command, i would like to wait 30min and then reboot the second camera with the same script .