CVGZ#78718 %temp% -> %exchtemp%

svn path=/Website/trunk/; revision=70202
This commit is contained in:
2025-09-03 14:26:30 +00:00
parent 5f7a668481
commit 9bde25342b
2 changed files with 8 additions and 8 deletions

View File

@@ -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

View File

@@ -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