Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Lynn Lantz <lynn.lantz@mnco.com>
Subject: Re: How do you automate a file to run every hour ?
Date: 1997/06/12	[thread overview]
Message-ID: <33A015AD.E85045C6@mnco.com> (raw)
In-Reply-To: EBMBwM.CrB.0.bloor@torfree.net


Yin Tse wrote:

> 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 and also how do you program it in
> dcl
> to let you know if the com file was not able to run the application
> for
> some reason. Is there some way to know that the application crashed or
>
> would not start. Thanks for the help in advance.

 Wow, what a wide opened question.  A couple quick simple answers:
1. Use submit command (see help) to set up the batch job to run every
hour, put the submit command withing the .com itself so it will
re-submit itself when it runs.
2. Just put a Wait command in your .com file to wait for 1 hour and then
goto the beginning again.
3. See dcl books and help for On_error trapping




  parent reply	other threads:[~1997-06-12  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
1997-06-15  4:00     ` Data64
1997-06-16  4:00       ` Ferry Bolhar-Nordenkampf
1997-06-12  4:00 ` Lynn Lantz [this message]
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