Hi all,
I'm having a bit of an issue here. As many businesses we run our batch daily monday night thru friday night.
How would you schedule a job that has to run on monday morning, but really is connected to friday night's batch? (specifically, jobs running Monday morning are dependant on job running Friday night).
Bonus question: When monday is a business holiday, I need it to run the Tuesday morning...
Thank you all.
Monday morning jobs
This is what PREV will be translated to.
If a job's schedule is M-F, on ODATE Monday, PREV is previous Friday. PREV means the previous order date relative to the ODATE of the job. Similarly, NEXT means the next order date relative to the ODATE of the job. PREV and NEXT are available as date of condition (for definition) or as system AutoEdit variable of the job.
If a job's schedule is M-F, on ODATE Monday, PREV is previous Friday. PREV means the previous order date relative to the ODATE of the job. Similarly, NEXT means the next order date relative to the ODATE of the job. PREV and NEXT are available as date of condition (for definition) or as system AutoEdit variable of the job.
- GrandSteph
- Nouveau
- Posts: 17
- Joined: 24 Oct 2011 12:00
Your real question isn't what you asked initially. My answer was based on your question
For your real question, you can set the Friday job waiting for an extra condition that is created on Monday. Make sure the job has MAXWAIT of 3.How would you schedule a job that has to run on monday morning, but really is connected to friday night's batch? (specifically, jobs running Monday morning are dependant on job running Friday night).
- GrandSteph
- Nouveau
- Posts: 17
- Joined: 24 Oct 2011 12:00
That wouldn't work because then I need to create a job on monday. That is what I'm trying to avoid.
How about passing the next business date to the job and have the job wait for thenext business date.
That would translate into, the job triggers on Friday night but knows that the next business date is monday and would just wait for that.
How about passing the next business date to the job and have the job wait for thenext business date.
That would translate into, the job triggers on Friday night but knows that the next business date is monday and would just wait for that.