Auto reboot | remote reboot for GXP2160


Hello there,

is there a way to reboot the device automatically or remote?
For the older firmware i have used this script

But the new firmware don’t work now .

We have 25 devices and sometimes someone of them is hanging.
I noticed that this does not happen when I reboot all devices at night.

Auto reboot every night?

I use this php script to reboot handsets

$login_url = “http://” . $ip . “/cgi-bin/dologin”;
$reboot_url = “http://” . $ip . “/cgi-bin/api-sys_operation”;

$reboot_url = "http://" . $ip . "/cgi-bin/api-sys_operation?password=$pass&request=REBOOT";

// curl object
$ch = curl_init();

// Set some options - we are passing in a useragent too here
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $reboot_url);
curl_setopt($ch, CURLOPT_USERAGENT, ‘GSProv cURL’);

// send GET request
$response = curl_exec($ch);