CVGZ#78718 %temp% -> %exchtemp%
svn path=/Website/trunk/; revision=70202
This commit is contained in:
@@ -12,12 +12,12 @@ REM Get customer name from parent folder
|
||||
for %%a in ("%cd%\..\.") do set "cust=%%~nxa"
|
||||
|
||||
REM Define temporary log path
|
||||
set "temp=..\..\..\TEMP\%cust%\Exchange"
|
||||
set "exchtemp=..\..\..\TEMP\%cust%\Exchange"
|
||||
|
||||
REM Create directory if it doesn't exist
|
||||
if not exist "%temp%" (
|
||||
mkdir "%temp%"
|
||||
if not exist "%exchtemp%" (
|
||||
mkdir "%exchtemp%"
|
||||
)
|
||||
|
||||
REM Run the webhook processing script and log output
|
||||
cscript ..\..\..\UTILS\Exchange\process_webhooks.wsf >>"%temp%\%~n0_%mstamp%.log" 2>>&1
|
||||
cscript ..\..\..\UTILS\Exchange\process_webhooks.wsf >>"%exchtemp%\%~n0_%mstamp%.log" 2>>&1
|
||||
|
||||
@@ -13,12 +13,12 @@ REM Get customer code from folder path
|
||||
for %%a in ("%~dp0..\.") do set "cust=%%~nxa"
|
||||
|
||||
REM Define temp log path
|
||||
set "temp=..\..\..\TEMP\%cust%\Exchange"
|
||||
set "exchtemp=..\..\..\TEMP\%cust%\Exchange"
|
||||
|
||||
REM Create directory if it doesn't exist
|
||||
if not exist "%temp%" (
|
||||
mkdir "%temp%"
|
||||
if not exist "%exchtemp%" (
|
||||
mkdir "%exchtemp%"
|
||||
)
|
||||
|
||||
REM Run the webhook refresh script and log output
|
||||
cscript ..\..\..\UTILS\Exchange\refresh_webhooks.wsf >>"%temp%\%~n0_%mstamp%.log" 2>>&1
|
||||
cscript ..\..\..\UTILS\Exchange\refresh_webhooks.wsf >>"%exchtemp%\%~n0_%mstamp%.log" 2>>&1
|
||||
|
||||
Reference in New Issue
Block a user