: Please describe a bit more what you want to achieve so I can figure out how : to setup jobs properly. Generally I have certian sets of jobs in pairs. One set runs on a set time, usually running shell scripts, etc. This job has date dependent information in it, mostly last business day information (which @DL takes care of nicely) The second set of jobs kick off as nothing more then report sends. The result of the shell scripts run in the first job create a report and trigger (the reprot itself is not the trigger, because it is possible that the shell script ran prefectly fine, but happened to generate no report that day.. which I account for). The report is named in the folowing .. XXX Report dd-mmm-yyyy.xls where the date *should* be the last business day. Since these report jobs are file trigger based.. they do not seem to follow the same rules in using @DL. @DL in the time based jobs (with holiday skip checked) acounts for the holiday.. but @DL in the report send jobs do not, resulting in an error as it is looking for the wrong date in the file name. i seperate these jobs do to the need to rerun ONLY the report send, or ONLY the script generation easily without commenting sections of code or creating file triggers. it *is* possible to pull the report name sans date attribute, but doing this with 'filefindfirst' adds, in my opinion, unneeded complexity to the job, as this is something 24x7 should, and already does, do.
|