What are some ways that we could have a job run only during the first run of the month? Our situation is that we need to run some jobs in the middle of the flow, but only during the first run of the month. This is a simplified version of the flow. Each "run" involves many adTempus jobs.
- run DW load
- run DB extracts
- If $FirstRunOfTheMonth {run HealtHelp and Catalyst}
- run Mede
The process typically begins on Sunday, but if the first day of the month falls on a Tuesday, it might begin on Thursday.
This is complicated by the fact that, like most places, sometimes things happen that will alter the schedule. Late arriving data. Something needs to be reloaded. Etc.
I fear that a hardcoded calendar would 1) be difficult to maintain and 2) not always do the right thing if there is any variance in the operation. I would think that an adTempus variable could help, but I am not sure of the best way to go about using it.
Any suggestions?