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



Hector Sanchez wrote:

[ Picked text/plain from multipart/alternative ]
I am working WRKJOBSCDE (Work with Job Schedule Entries).  I am trying
to schedule a job to run every other Friday.  I see everyway of
scheduling this (Monthly etc).  But I don't see way to do it every 2
weeks.  Is there a way?
We use the Advanced Job Scheduler from IBM (costs $$$) in which there is
a *NUMDAYS option meaning you tell it to run every X number of days.
But I don't see the equivalent in the regular job scheduler that you have.

What about this:

1. Create a data area for this job.  Initialize it with the last run
date for the job.

2. Schedule the job to run _every_ Friday.  Then, as the first step in
the job, look at this data area.

3. If the date is 7 days ago, it's only been a week, so do a controlled
end within the job without actually running.

4. If it's been 14 days, then run the job, with the last step being
updating the data area with the new date.

It's a kludge, but it's a way to do it.

--
Jeff Crosby
Dilgard Frozen Foods, Inc.
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531

The opinions expressed are my own and not necessarily
the opinion of my company.  Unless I say so.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.