Windows Task Scheduler – Schtasks

By | Y2014Y2014-4M-D

ref) http://technet.microsoft.com/en-us/library/cc772785(v=ws.10).aspx

Schtasks

Schedules commands and programs to run periodically or at a specific time. Adds and removes tasks from the schedule, starts and stops tasks on demand, and displays and changes scheduled tasks.

To view the command syntax, click the following command:

schtasks create

※ 참고로, IIS 를 다음날 자정에 한번 재시작하는 스케쥴을 시스템 권한으로 IIS Restart 라는 이름으로 등록하는 커맨드

schtasks /create /ru system /tn “IIS Restart” /tr “blackboard_installed_drive_name:\blackboard\tools\admin\ServiceController.bat services.webserver.restart” /sc once /sd 2014/04/26 /st 00:00

1,614 total views, 1 views today

댓글 남기기