Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!ames!sdcsvax!ucbvax!VAX1.LSE.AC.UK!SKELTON From: SKELTON@VAX1.LSE.AC.UK Newsgroups: comp.os.vms Subject: Re: First unrelated question Message-ID: <8709141106.AA21764@ucbvax.Berkeley.EDU> Date: Mon, 14-Sep-87 07:06:23 EDT Article-I.D.: ucbvax.8709141106.AA21764 Posted: Mon Sep 14 07:06:23 1987 Date-Received: Tue, 15-Sep-87 04:37:10 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 18 Tom Williams asks about controlling users who submit multiple jobs to a batch queue. I wrote a similar solution to Bob Sloane's except 1. It only wakes up every 20 minutes. We thought that a batch job that was queued and executed within 20 minutes was not causing a problem. 2. Instead of reducing the priority of subsequent jobs for a single user, my program increases the priority of the first job it finds for each user. This cannot be circumvented by users, and means that a job with altered priority need not be checked again. If a user's job is executing, I raise his next job on the queue from 100 to 101, otherwise I raise the first job for each user from 100 to 102. Jeremy Skelton, London School of Economics. J.SKELTON@VAX1.LSE.AC.UK - Bitnet J.SKELTON%VAX1.LSE.AC.UK@WISCVM.BITNET - ARPA?