s-news
[Top] [All Lists]

Re: [S] RE: Batch Jobs in Windows 98

To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Subject: Re: [S] RE: Batch Jobs in Windows 98
From: dmurdoch@pair.com (Duncan Murdoch)
Date: Sun, 16 Jan 2000 22:14:01 GMT
In-reply-to: <0D94E49D52E0D01181840000F8040B9769F12F@www.branz.org.nz>
References: <0D94E49D52E0D01181840000F8040B9769F12F@www.branz.org.nz>
Sender: owner-s-news@wubios.wustl.edu
On Mon, 17 Jan 2000 08:57:24 +1300, you wrote:

>
>You can run scheduled jobs using the Windows Task Scheduler.
>
>Programs | Accessories | System Tools | Scheduled Tasks
>
>Use the Settings and Schedule tab to control the execution. It is a little
>tricky to run programs sequentially.

A simple way to run programs sequentially is to use a .BAT file
together with the "start /w" command.  I don't remember the syntax to
start a batch job in SPLUS, but you write something like this to run a
sequence of them:

start /w splus job1
start /w splus job2
start /w splus job3
 ...

Put these lines in a file named something like "runjobs.bat", then run
it.

This assumes that your jobs cause SPLUS to exit at the end.  The batch
file will wait for that to happen before it starts the next one.

Duncan Murdoch
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>