修改每天下班执行脚本

This commit is contained in:
2026-08-26 16:53:22 +08:00
parent 60867ef825
commit bb03ce4533

View File

@@ -18,7 +18,7 @@ REM /sc daily : 每天执行
REM /st 06:03 : 早上6点03分 REM /st 06:03 : 早上6点03分
REM /it : 仅在用户登录时交互式运行RPA操作GUI必需 REM /it : 仅在用户登录时交互式运行RPA操作GUI必需
REM /f : 覆盖已存在的同名任务 REM /f : 覆盖已存在的同名任务
schtasks /create /tn "%TASK_NAME%" /tr "\"%SCRIPT_PATH%\"" /sc daily /st 06:03 /it /f schtasks /create /tn "%TASK_NAME%" /tr "\"%SCRIPT_PATH%\"" /sc daily /st 18:03 /it /f
if %errorlevel% equ 0 ( if %errorlevel% equ 0 (
echo. echo.