CaiWuXiTong/scripts/wangshang-bank/run-wangshang-daily.cmd
92451 67c85678e6 feat: 接入网商银行每日动账明细 (#831)
Co-authored-by: 92451 <924518135@qq.com>
Co-committed-by: 92451 <924518135@qq.com>
2026-11-02 20:58:42 +08:00

11 lines
403 B
Batchfile

@echo off
setlocal EnableExtensions
set "SCRIPT_DIR=%~dp0"
set "LOG_DIR=%SCRIPT_DIR%..\..\runtime\private\wangshang-bank-exports\logs"
if not exist "%LOG_DIR%" mkdir "%LOG_DIR%"
set "TASK_LOG=%LOG_DIR%\task-host.log"
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%run-wangshang-daily.ps1" %* >> "%TASK_LOG%" 2>&1
exit /b %ERRORLEVEL%