In article <[log in to unmask]>, "Knight, Sam" <[log in to unmask]> wrote: > If you do the following: > > !JOB JOB1,USER.ACCT > !STREAM JOB1.JOBGROUP.JOBACCT;IN=1 > <JOB LOGIC> > !EOJ > > There should be no drifting. > > ******************************************************* > > Sam Knight Phone (904)745-7509 Sr. > Programmer/Analyst Fax (904)745-7238 Jacksonville University > Jacksonville, FL 32211 > > And In article <[log in to unmask]>, "Paul S. Butler" <[log in to unmask]> wrote: > One problem with using "IN=" is that the jobs will gradually drift and > not get scheduled when you would like. If you absolutely need to have > your job run at 8:30PM every day, "AT=20:30" is the way to go. > > BUT if the job takes less than a minute to run, the job will get > immediately streamed again. The way around this is to use a PAUSE: > > !JOB JOB1,USER.ACCT > <JOB LOGIC> > !PAUSE 60 > !STREAM JOB1.JOBGROUP.JOBACCT;AT=20:30 > > ------------------------------------ > Paul S. Butler, System Administrator > Data Trace Information Services LLC > (916) 797-5000 > > Both may give problems. In the first case: I've sometimes had a process in the C-queue using so much time, the job in the D-queue took several minutes to take off: your IN=1 will drift accordingly. In the second case, if your <JOB LOGIC> results in an uncaught error: "The remainder of the job will be flushed", including the scheduling stream. So, what I now usually do is, at the start of the job do a pause 70, then the scheduling stream with an AT=, and then the <JOB LOGIC>. If necessary, you can adjust the start time accordingly (i.e. 1 minute early). > ----- Original Message ----- > From: "Derrick Tietz" <[log in to unmask]> To: <[log in to unmask]> > Sent: Friday, November 02, 2001 1:32 PM Subject: Imitate a scheduler > using stream? > > > Hello all, > Is it possible to imitate scheduling software using the stream command? > I want a job to run every day at 8:30 PM without having to stream it > daily. I tried streaming Job1 at=20:30, job1 streams Job2 in=,1 and Job2 > streams Job1 in=,23. I also tried using "at" instead of "in" in Job1 and > Job2. Is it possible to make this work? When I try this I get a long > list of the jobs that repeat, but I never get a JOBNUM. Thanks in > advance, > Derrick > > * To join/leave the list, search archives, change list settings, * * > etc., please visit http://raven.utc.edu/archives/hp3000-l.html * > > * To join/leave the list, search archives, change list settings, * * > etc., please visit http://raven.utc.edu/archives/hp3000-l.html * * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *