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



Marc,

Ya, this is what I'm doing right now, but doesn't really work. CPU used
time is much less than the real time and is not very predictable compared
to the 'real' time.


Jim McLean



Marc Rauzier
<mrauzier@xxxxxxx
> To
Sent by: Midrange Systems Technical
midrange-l-bounce Discussion
s@xxxxxxxxxxxx <public-midrange-l-Zwy7GipZuJhWk0Ht
ik3J/w@xxxxxxxxxxxxxx>
cc
11/12/2007 11:55
AM Subject
Re: Automatically killing long
running jobs
Please respond to
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>








Le: 12 nov. 2007, vous écriviez dans:
gmane.comp.hardware.ibm.midrange:


Hi Everyone,

Hello Jim


I'm looking for a solution to my problem of long running reports.
Everyone once in a while a user gets carried away and submits a
very, very large report to the system. What I would like to do is
kill any reports that run for more than X minutes. These reports
run in our reporting queue/subsystem, so it would be safe to kill
any job in that subsystem that's been running for more that X
minutes.

Any ideas on how best to accomplish this? Or am I off the mark in
trying this?


You can try to create your own class for your subsystem and use the
"MAX CPU time" parameter. If you setup this parameter to anything else
than *NOMAX, the system will end the job when it uses more than the
number of milliseconds CPU. This is not exactly what you are looking
for but it may help.

--
Cordialement
Marc Rauzier
(pour me répondre, ne pas utiliser le from mais le reply-to)



--
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: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





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.