View Single Post
  #428  
Old 17.04.2018, 13:19
FlyAway FlyAway is offline
JD Beta
 
Join Date: Feb 2013
Posts: 51
Default

Quote:
Originally Posted by mgpai View Post
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 :(
Reply With Quote