windows cron - schtasks

|

등록 : schtasks  /create  /tn "test" /tr "D:\test.bat " /sc minute /ru "System"

강제 실행 : schtasks /run /tn test

삭제 : schtasks /delete /tn test


Schedule typeDescription

MINUTE, HOURLY, DAILY, WEEKLY, MONTHLY

Specifies the time unit for the schedule.

ONCE

The task runs once at a specified date and time.

ONSTART

The task runs every time the system starts. You can specify a start date, or run the task the next time the system starts.

ONLOGON

The task runs whenever a user (any user) logs on. You can specify a date, or run the task the next time the user logs on.

ONIDLE

The task runs whenever the system is idle for a specified period of time. You can specify a date, or run the task the next time the system is idle.


'Etc' 카테고리의 다른 글

excel 두개열의 중복 비교  (0) 2019.10.07
chrome https로 강제 이동 막기  (0) 2018.11.26
가타가나  (0) 2017.03.14
nodejs forever  (0) 2016.04.05
nodejs로 gmail을 통해서 메일 발송  (0) 2015.04.15
And