Jump to content

Secheduled programs execution when sharing the same time


Mark Sanctuary

Recommended Posts

So if I schedule lets say three seperate programs like this...

 

If
       From     3:00:00PM
       For      1 second

Then
  - No Actions - (To add one, press 'Action')

Else
  - No Actions - (To add one, press 'Action')

Do they get cached and executed one after another?

 

What decides which one takes the first turn?

 

If
       From     3:00:00PM
       For      1 second

Then
       Wait  90 minutes 
       Do something

Else
  - No Actions - (To add one, press 'Action')

If execution of the program takes longer than the one second, does it finish the program?

 

Thanks,

Link to comment

Hi Mark,

 

Yes, the programs get cached. As soon as the first sees a Wait the next program will start. There is a Missed Schedule Grace Period on the Configuration panel in case the ISY is busy when a program is due to run.

 

AFAIK they run in order according to their ID. Usually this is the order they are created in. But new programs will take the ID of a deleted program. If you need a specific order add one second to the start time.

 

Your second example will quit after one second because of the Wait. A Repeat would make one loop.

 

Rand

Link to comment

The thing I am trying to avoid is this, I have my irrigation schedule program setup to start at 11pm and run thru the night. The problem is if I don't have an end time and reboot the ISY it turns on the first station. Since I am the tinkering kind and from time to time reboot my ISY I really don't want the sprinklers coming on every time I reboot.

 

If
       On Sat, Sun, Mon, Tue, Wed, Thu, Fri
       From    11:30:00PM
       For      1 second
   And Program 'Auto Flag Rain In Past 36 Hours' is False
   And Program 'Auto Flag Temp Below 40' is False
   And Program 'Manual Flag Currently Running' is False

Then
       Run Program 'Auto Run Drip Stations' (If)

Else
  - No Actions - (To add one, press 'Action')

If
       Program 'Auto Flag Temp Above 90' is False

Then
       Set 'Outside Irrigation / S4: Back Drip1 (Maples)' On
       Wait  60 minutes 
       Set 'Outside Irrigation / S5: Back Drip2 (Fruit Trees)' On
       Wait  60 minutes 
       Set 'Outside Irrigation / S6: Back Drip3 (Daylilly)' On
       Wait  60 minutes 
       Set 'Outside Irrigation / S8: Front Drip1' On
       Wait  60 minutes 
       Set 'Outside Irrigation / S8: Front Drip1' Off

Else
       Set 'Outside Irrigation / S4: Back Drip1 (Maples)' On
       Wait  90 minutes 
       Set 'Outside Irrigation / S5: Back Drip2 (Fruit Trees)' On
       Wait  90 minutes 
       Set 'Outside Irrigation / S6: Back Drip3 (Daylilly)' On
       Wait  90 minutes 
       Set 'Outside Irrigation / S8: Front Drip1' On
       Wait  90 minutes 
       Set 'Outside Irrigation / S8: Front Drip1' Off

Link to comment

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...