Quote:
Originally Posted by mgpai
You can use this code to control the time at which the script will run. Insert it after Line 10:
Code:
var h = new Date().getHours();
if (h < 6 || h > 20) return;
In this example the script will run only between 6 AM and 9 PM.
|
thanks for the help but 6 or 7 hours of reconnections I think disinterrupt the router
Do not worry, it's not important.
Unfortunately I tried your script having enabled the trigger but it does not work, does not reconnect :(