strange scheduler problem, scripting - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: strange scheduler problem, scripting (/showthread.php?tid=578) |
strange scheduler problem, scripting - gjniewenhuijse - 26.01.2017 Since last week, without script changes i have a strange problem. My script doesn't run as expected. First my script is planned at 12:00 but runs at 13:00, why? script: Code: cInterval = 24*60*60 --every 24 hours And then it generates a line in the log: log value: brandmelder check: 2194 >= 172800 true That's not true, because 2194 < 172800 and value.data == true What do i wrong? RE: strange scheduler problem, scripting - admin - 26.01.2017 Is it a scheduled script or a script triggered by a scheduler event? Are you sure this is the correct script since 172800 is a number of seconds in two days, not one. RE: strange scheduler problem, scripting - gjniewenhuijse - 26.01.2017 (26.01.2017, 12:49)admin Wrote: Is it a scheduled script or a script triggered by a scheduler event? Are you sure this is the correct script since 172800 is a number of seconds in two days, not one. Its a scheluded script and that doesn't work. If i execute the code in a normal script it works. Sorry, yes i changed the interval in the script from 24 to 48 to test something, but i pasted the wrong result This problem starts this weekend, same time with other problems: redis server down? zwave app crash etc (i contacted support about this problem). RE: strange scheduler problem, scripting - admin - 26.01.2017 Have you tried rebooting the device? Can you make sure that date/time/timezone settings are correct? RE: strange scheduler problem, scripting - gjniewenhuijse - 26.01.2017 date/time/timezone is correct. it looks like a reboot solved it. But i use a reboot only if its really needed, because the zwaveapp is not so happy with reboots. RE: strange scheduler problem, scripting - gjniewenhuijse - 27.01.2017 problem is back, scheduled at 12:00 but executed at 13:00 and a log message. RE: strange scheduler problem, scripting - admin - 27.01.2017 Can you send remote access details via e-mail or PM? RE: strange scheduler problem, scripting - gjniewenhuijse - 27.01.2017 (27.01.2017, 12:10)admin Wrote: Can you send remote access details via e-mail or PM? done to support RE: strange scheduler problem, scripting - gjniewenhuijse - 31.01.2017 I think the problem is related to a backup of my system that is running on another LM, but where? |