EG252@AOL.COM Posted July 22, 2009 Posted July 22, 2009 I have a folder with 5 programs that run every day. I want to set a condition on the folder that on 7/23/09 the entire folder should NOT run. Is there a way to do that?
Ishmael Posted July 22, 2009 Posted July 22, 2009 I suspect that you can just set a schedule on the folder that matches all time that is prior to or after 7/23 using From, unchecking Daily, and using Or to build something like this: If From 12:00:00AM on 2009/07/21 To 11:59:59PM on 2009/07/22 Or From 12:00:00AM on 2009/07/24 To 12:00:00AM on 2025/01/01 as long as the first date is in the past and the last date is far enough in the future that it doesn't matter.
EG252@AOL.COM Posted July 22, 2009 Author Posted July 22, 2009 i have a list of dates that i don't want the folder to run.. very complicated to add all the in betweens.. isn't there a way to program that on these 5 dates the folder should NOT run?
TJF1960 Posted July 22, 2009 Posted July 22, 2009 i have a list of dates that i don't want the folder to run.. very complicated to add all the in betweens.. isn't there a way to program that on these 5 dates the folder should NOT run? How about this. Program "No Run Dates" If From 12:00:00AM on 2009/07/22 To 11:59:00PM on 2009/07/22 Or From 12:00:00AM on 2009/07/29 To 11:59:00PM on 2009/07/29 Or From 12:00:00AM on 2009/08/05 To 11:59:00PM on 2009/08/05 Or From 12:00:00AM on 2009/09/16 To 11:59:00PM on 2009/09/16 Or From 12:00:00AM on 2009/12/25 To 11:59:00PM on 2009/12/25 Or From 12:00:00AM on 2010/02/25 To 11:59:00PM on 2010/02/25 Then - No Actions - (To add one, press 'Action') Else - No Actions - (To add one, press 'Action') Then the folder with the programs you dont want to run on those specific dates. Folder "Special Dates" Folder Conditions for 'Special Dates' Add conditions to limit when programs in this folder are allowed to run. If Program 'No Run Dates' is False Then Allow the programs in this folder to run.
ryarber Posted July 22, 2009 Posted July 22, 2009 This will be easier when we get variables. You should be able to tell it to run unless a variable is true. You can then use programs to turn the variable on and off to disable the programs you don't want to run. One way to do it now is to set up a folder or program with just an IF statement. the programs you set up can be set to run only if the other program is false. For instance: Program 1 (These are the days you don't want the program to run) If Time is From xx:xx:xx on xx/xx/xxxx To xx:xx:xx on xx/xx/xxxx Then Blank Else Blank On the second program (the one that you actually want to run) If Time is xx:xx:xx every day and Program 1 is False Then xxxx You can then just modify the first program or folder to become true on the days you don't want the program to run.
Recommended Posts