× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Fri, Apr 6, 2018 at 10:50 AM, Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx> wrote:
There are a couple of ways I can think of to do this:

1) Set up 3 separate AJS jobs that all all the same except for the schedule.
2) Set up 1 "real" AJS job that is the actual command, then a couple of
other AJS jobs that do a CHGJOBJS to the schedule of the real AJS job.

The first seems simpler to me, while some may think the 2nd is more
"elegant."

The first seems simpler to me as well. If you really need three jobs
either way, then there is a good case for making them as
straightforward and easy to understand as possible.

To me, the second option you presented is not particularly elegant.

What *might* be more elegant, in my opinion, is an ongoing script
which periodically runs the command and does the necessary logic to
adjust its own delay time accordingly. The advantage is the logic is
all in one place instead of spread out among three jobs. The
disadvantage is of course that it's less "visible", in terms of
administration (you'd have to inspect the code, rather than just look
at the scheduler).

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.