修改每天下班执行脚本
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user