That code snipped was given just an idea how to add custom scheduling logic. If in such job run daily with "skip holidays" option enabled you can do the following // check if yesterday was a holiday Dim run_it, boolean IsHoliday "@DP"mm/dd/yyyy"", run_it // if yes, run the job otherwise abort IfThen run_it, RUN_EXE Exit RUN_EXE: Dim pid, number Run "my_program.exe", "", pid Of course you can also schedule one time jobs as suggested in your message but then you have to update these jobs every year if you deal with floating holidays (such as Thanksgiving Day or similar). : This code example is really helpful, but it still doesn't help me : "slide" a work-day holiday to the next work-day. I'm thinking : the easiest way to do that would be to have a way to "schedule" : a non-scheduled job, or to "add" a one-time execution to an : already-scheduled job - I think this may be possible, but I've just now : started looking for the way to do that. If you have a short-cut idea, that : would be great. : Thanks, : Anson
|