home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
400-499
/
ff473.lzh
/
CNewsSrc
/
cnews_src.lzh
/
batch
/
amiga
/
DoBatch.e2
< prev
next >
Wrap
AmigaDOS Script File
|
1990-12-30
|
697b
|
32 lines
.key SYS
.bra [
.ket ]
cd NewsArts:Out.Going/[SYS]
if not exists togo
quit 5
endif
if exists T:Batch.[SYS]
echo "Batcher already running for [SYS]"
quit 5
endif
date >T:Batch.[SYS]
delete quiet togo.last
rename togo togo.last ; move `togo' in case relaynews creates more...
echo "News batched for `[SYS]' is in NewsArts:Out.Going/[SYS]/batch_#?.Z"
batcher -s 49152 -p batch -f togo.last; -S [SYS]; (system name for batchparms)
if val $RC eq 0
list batch_#? lformat "acomp %s" to temp
sort temp exec.compress
execute exec.compress
delete exec.compress temp quiet
else
echo "Hmmm. Something in `batcher' didn't work!"
date >>togo.failed
join togo.last to togo.failed
rm togo.last
fi