1. bat程序: restartProxify.bat

@echo off  
taskkill /f /im Proxifier.exe
cd /
cd "C:\Program Files (x86)\Proxifier"
Proxifier.exe
echo 成功重启 Proxifier.exe 程序
exit

2.  每一分钟执行 restartProxify.bat 程序一次

schtasks /create /tn han1 /tr D:\MINTOOL\dostop\restartProxify.bat /sc minute /mo 1  

3.  删除定时任务

schtasks /delete /tn han1 /f

4. 查看定时任务

schtasks /query /tn han1

 

schtasks /create /tn han1 /tr D:\MINTOOL\dostop\restartProxify.bat /sc minute /mo 1

相关文章:

  • 2022-01-22
  • 2021-09-20
  • 2021-10-08
  • 2022-12-23
  • 2021-12-07
  • 2021-12-28
  • 2022-01-02
猜你喜欢
  • 2022-12-23
  • 2021-07-31
  • 2021-10-09
  • 2021-06-28
  • 2022-12-23
  • 2021-06-11
  • 2021-11-03
相关资源
相似解决方案