From: cornelius@eisner.decus.org (George Cornelius)
Subject: Re: How do you automate a file to run every hour ?
Date: 1997/06/13 [thread overview]
Message-ID: <1997Jun13.153629.1@eisner> (raw)
In-Reply-To: 01bc774e$f7cea240$6a046e78@bft.spire.com
In article <01bc774e$f7cea240$6a046e78@bft.spire.com>, "Bruce F. Thatcher" <thatcher@spire.privacy.com> writes:
> Yin Tse <cr389@torfree.net> wrote in article <EBMBwM.CrB.0.bloor@torfree.net>...
>> I'm looking into writing a com file to run every hour or so. That com
>> file will start an application which will run until it terminates.
>> My question is how do you do that...
>
> First, decide whether you want the procedure running in a batch queue (type
> HELP SUBMIT for more information), or as an independent (detached) process
> (type HELP RUN PROCESS for more information)? Note that you need
> specialized privileges to run a process in detached mode.
No, you need not special privileges to use the /DETACHED qualifier, but you do
need them to run a detached process under a different UIC (I know that
HELP under VMS V6 says otherwise, but all that means is that some at DEC
make the same incorrect assumption that everyone else does about the meaning
of DETACH privilege).
You can also schedule a process for periodic wakeups via
$ RUN filename /INPUT=comfile /OUTPUT=logfile ...
with the /DELAY and /INTERVAL qualifiers. One disadvantage of this
compared to batch queues is that there does not appear to be an easy
way to see when the process is scheduled to awaken next and what its
time interval parameter is.
--
George Cornelius cornelius@eisner.decus.org
cornelius@mayo.edu
next prev parent reply other threads:[~1997-06-13 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-11 4:00 How do you automate a file to run every hour ? Yin Tse
1997-06-12 4:00 ` Bruce F. Thatcher
1997-06-13 4:00 ` George Cornelius [this message]
1997-06-15 4:00 ` Data64
1997-06-16 4:00 ` Ferry Bolhar-Nordenkampf
1997-06-12 4:00 ` Lynn Lantz
1997-06-12 4:00 ` Robert Koehler
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox