Hi All,
I am testing jobs of a certain category, for that I have created one server job which runs each job one by one (i.e. one after the other) through DSRunJob. My requirement is to abort a job running for more than certain time (say 20 minutes) from within the master server job. Moreover I can't modify the server jobs to be run(other than master server job). Is there anyway that I can achieve this ?
Thanks in advance.
Aborting a Job from within Another Server Job.
Moderators: chulett, rschirm, roy
It is inefficient to try to hav the job itself check to see how long it has been running, but it should be an easy matter to have the starting program or any other program use a timer and, after the specified period of time is over, call dsjob to cancel the job.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>