11.05.2017, 20:56
os.microtime just gives you the time in milliseconds.
Maybe the easiest way is to create a new object that is controlled with the scheduler, set it to turn on at 2, and turn off at 4.
This way it will be easier to just change the scheduler than editing the script as well.
Start your script with
if grp.getvalue('Schedule switch') == true then
Mvh
Maybe the easiest way is to create a new object that is controlled with the scheduler, set it to turn on at 2, and turn off at 4.
This way it will be easier to just change the scheduler than editing the script as well.
Start your script with
if grp.getvalue('Schedule switch') == true then
Mvh
Best regards, Jørn.