From: "Steinmetz, Paul" <PSteinmetz@xxxxxxxxxx>
AJS calendars and scheduling are actually very flexible.
How do you schedule a single job to run Monday through
Friday at 7 pm and on the second Saturday at 1 am? That's a
serious question. As far as I can see, you can only attach
a single set of times of day to a single set of days.
That may seem like a pathological example, but imagine a
retail business that has different closing times depending
on what day of the week or month it is. One either has to
create a duplicate job (which means double the maintenance
and the risk of forgetting something when you need to make a
change) or one has to run it multiple times a day and encode
your own calendar into the logic of the program, which
defeats the purpose of using a scheduler.
This problem has come up with us a lot. We run whole sets
of job groups at different times of day depending both on
the day of the week, and on certain special extra days in
the month. It gets very complicated, and we have resorted
to creating duplicate job definitions.
Come to think of it, maybe our "duplicate" jobs should
actually not be duplicates, but should just call SBMJOBJS or
STRGRPJS. At least then we would only have to maintain one
set of them.
it's quite simple to run a job every 5 minutes
Yes, I know. My point was that having separate jobs defined
to run things at different times would not scale well when
you want to run them that often, that's all.
<i><b>NOTICE: This email and any attachments may contain
proprietary or privileged information for the use of the intended
recipient. Unauthorized use or distribution is prohibited. If
you received this email in error please notify the sender and
delete the email. Thank you.</b></i>
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact