Jump to content

Repeating a certain program every 30 minutes


Go to solution Solved by paulbates,

Recommended Posts

Posted (edited)

Add a Repeat statement as the first statement under then. One of the options is "Repeat Every" set that to 30 minutes. The statements under Repeat will indent

Note that when the conditions of the If are no longer true, it will stop. In this program, it should bounce back and forth between then and else... which I think is your intent

image.thumb.png.b234da8195fac160b3049af82612c0b5.png

Edited by paulbates
  • Like 1
Posted
19 minutes ago, paulbates said:

Add a Repeat statement as the first statement under then. One of the options is "Repeat Every" set that to 30 minutes. The statements under Repeat will indent

Note that when the conditions of the If are no longer true, it will stop. In this program, it should bounce back and forth between then and else... which I think is your intent

image.thumb.png.b234da8195fac160b3049af82612c0b5.png

I did this before (every 10 minutes as a test) by adding to the THEN and ELSE statements....but when I looked in the SUMMARY TAB of the PROGRAMS TAB, and hit "refresh" I did not see the "Last finish time" or the "next Scheduled Run" had updated at all. Is this normal? Or should it have updated?

  • Solution
Posted (edited)
2 hours ago, ddeanwms said:

What I really want is for the entire program to run once an hour.

Ok, you'll need 2 programs

<Program 1> Computer Cabinet once an hour

If
   <no statement>

Then
   Repeat every 1 hour
        Run If Program Computer cabinet

<Program 2> Computer Cabinet
    <your current program>

Notes:

  • Set the first program to run on start up
  • Disable program 2 so it does not run automatically
  • What this will do is the the ISY will run program 1 when its started
  • Program 1 will run once an hour
  • Program one will call program 2
  • Program 2 is disabled so it will only run when program 1 calls it
     
Edited by paulbates
  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...