Veritas-bu

Re: [Veritas-bu] Multistream job and bpstart & bpend notify script

2009-10-02 04:38:27
Subject: Re: [Veritas-bu] Multistream job and bpstart & bpend notify script
From: Michael Graff Andersen <mian71 AT gmail DOT com>
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Fri, 2 Oct 2009 10:35:16 +0200
Here is the bpstart_notify script for multiple streams that I use
 
 
timeout /t %STREAM_NUMBER%


if exist c:\temp\wget_script_running.lock (goto waiting)
echo "" > c:\temp\wget_script_running.lock

<< wget_script command stuff>>
 
set RETURN=%errorlevel%
del /f c:\temp\wget_script_running.lock
if %RETURN% NEQ 0 (
echo 1 > %6
)

 


:waiting
if EXIST c:\temp\wget_script_running.lock (
timeout /t 1
goto waiting
)

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu