I am running a job that downloads and processes billing related files. It needs to run every Friday, AND it needs to run on the 2nd of the month (to pick up all end of month data). HOWEVER, since no files are available over the weekend, it needs to run on the 3rd or 4th if the 2nd falls on a weekend.
Is there any way in VisualCron to set up triggers to do this? The standard or customer triggers don't seem to allow for combined conditions (like 2nd of the month AND first weekday). For dependent triggers to work, it looks like they would both have to be true. But if I make 2nd of the month and first weekday triggers dependent, I can't also make 3rd of the month and first weekday triggers dependent at the same time (apparently, based on the GUI).
Basically I need a trigger for first weekday of the month which falls on or after the 2nd day of the month. Perhaps one trigger which runs on the 2nd, 3rd, and 4th of the month which is dependent on a trigger for the first weekday of the month?
This brings up another question. Before I was using triggers for Friday and the 2nd of the month which fired at the same time, so the job tried to run twice at the same time. Is there a way to indicate a job should not start if it's already running?
Thanks,
- Dick