Jump to content

Is there a simple way to run a program after boot (on v5)


Panda88

Recommended Posts

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.

Link to comment
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.

Link to comment
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.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...