From: rkoehler@csc.com (Robert Koehler)
Subject: Re: How do you automate a file to run every hour ?
Date: 1997/06/12 [thread overview]
Message-ID: <5nos95$8c9@explorer.csc.com> (raw)
In-Reply-To: EBMBwM.CrB.0.bloor@torfree.net
Yin Tse (cr389@torfree.net) 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.
How about, in a.com:
$on warning then goto mailme
$if f$mode() .eqs. "INTERACTIVE" then goto background
$run someapplication
$background:
$submit/after="0-1::." a.com/noprint
$exit
$mailme:
$mail sys$input: yournamegoeshere
$deck
someapplication failed
$eod
$goto background
------------------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
| System Sciences Division
next prev 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 ` Robert Koehler [this message]
1997-06-12 4:00 ` Lynn Lantz
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
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