× 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.



Given the frequency why use a scheduled job at all. I would just set up a
data queue Job waiting for x minutes and when it times out process check
time and start wait again.

Starting a job every 5 minutes is a killer



On Fri, Apr 6, 2018, 7:51 AM Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx> wrote:

We have an AJS job (single command) that we want to run on the following
schedule:

Mon-Fri 8am-5pm run every 5 minutes
Mon-Fri before 8am and after 5pm every 60 minutes
Sat-Sun all day every 60 minutes

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."

Has anyone done something like this? Pitfalls I'm not thinking of?

Thanks.


--


Jeff Crosby
VP Information Systems
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
direct.dilgardfoods.com

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.
--
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,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


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.