Panda88 Posted January 1, 2020 Posted January 1, 2020 Hi I am trying to get a 1 hour timer runnig - I can start it at mid night easily - but is there a simple way to get a program to run after boot to get the tick counters running again Thanks - and happy New Year
Michel Kohanim Posted January 1, 2020 Posted January 1, 2020 @Panda88, Yes, of course: 1. Make a program without any If condition and Save it 2. Go to Program Summary tab 3. Right mouse click on the program | Run at startup With kind regards, Michel
larryllix Posted January 1, 2020 Posted January 1, 2020 4 minutes ago, Panda88 said: Hi I am trying to get a 1 hour timer runnig - I can start it at mid night easily - but is there a simple way to get a program to run after boot to get the tick counters running again Thanks - and happy New Year Select the program in the Summary tab of the Admin Console. Right click on it and select "Enable Run at Startup". It will then the "If" section. Makes sure your "If" condition, if any, will be true.
Panda88 Posted January 3, 2020 Author Posted January 3, 2020 thanks Just to be clear - the program should be enabled - but no IF statement that can trigger?
larryllix Posted January 3, 2020 Posted January 3, 2020 7 hours ago, Panda88 said: thanks Just to be clear - the program should be enabled - but no IF statement that can trigger? Best not to have any code in the If section as it will not likely be true with parameters not set by the system or remote systems yet. I doubt the trigger enable option makes any difference. The If section triggers would not be calling attention to that program but rather the system would be. 'control switched' constructs would never be True, while 'status' constructs may or may not be. I forget the boot up sequence for ISY now.
apostolakisl Posted January 3, 2020 Posted January 3, 2020 (edited) 17 hours ago, Panda88 said: thanks Just to be clear - the prog ram should be enabled - but no IF statement that can trigger? blank "if" + "run at startup" = "then" clause execution at startup. I'm not sure I agree with larrylix on the point about the "if" not working when populated. I suppose it depends on what is in the "if" clause. Certainly things like date and times will work correctly. I would not count on things like device status being there at startup. It usually takes ISY a good 15 to 30 seconds to populate all of that stuff at boot. However, I believe a device "status" clause will trigger itself as soon as it populates. I could be wrong, you might want to try it out. Edited January 3, 2020 by apostolakisl 1
Recommended Posts