mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
2.9 KiB
122 lines
2.9 KiB
;
|
|
; This file is an example for use with the @ command. To use it,
|
|
; type JT @NEWJOB.TXT and it will create the job object test.job
|
|
; in the %windir%\jobs directory.
|
|
;
|
|
|
|
;
|
|
; Create the job using ISchedule::NewJob
|
|
;
|
|
|
|
/snj test
|
|
|
|
;
|
|
; Set the in-memory job's properties
|
|
;
|
|
|
|
/sj
|
|
ApplicationName = notepad.exe
|
|
Parameters = ""
|
|
WorkingDirectory = c:\
|
|
AccountName = foo
|
|
AccountPassword = bar
|
|
Comment = "Use quotes around strings"
|
|
Priority = NORMAL ; one of IDLE|NORMAL|HIGH|REALTIME
|
|
MaxRunTime = 172800000 ; in milliseconds
|
|
Interactive = 1
|
|
DeleteWhenDone = 1
|
|
Suspend = 0
|
|
HaltOnError = 1
|
|
DontStartIfOnBatteries = 1
|
|
KillIfGoingOnBatteries = 0
|
|
StartOnlyIfIdle = 0
|
|
KillOnIdleEnd = 0
|
|
|
|
;
|
|
; Add a trigger of each type
|
|
;
|
|
; Type = {Once|Daily|Weekly|MonthlyDate|MonthlyDOW|OnIdle|AtStartup}
|
|
|
|
/ctj
|
|
Type = Once
|
|
StartDate = Today
|
|
EndDate = 12/31/99
|
|
StartTime = Now
|
|
MinutesDuration = 60
|
|
MinutesInterval = 10
|
|
HasEndDate = 1
|
|
KillAtDuration = 1
|
|
Disabled = 0
|
|
|
|
/ctj
|
|
Type = Daily
|
|
TypeArguments = 3 ; DaysInterval
|
|
StartDate = 1/1/96
|
|
EndDate = 12/31/99
|
|
StartTime = Now
|
|
MinutesDuration = 60
|
|
MinutesInterval = 0
|
|
HasEndDate = 0
|
|
KillAtDuration = 0
|
|
Disabled = 0
|
|
|
|
/ctj
|
|
Type = Weekly
|
|
TypeArguments = 1, mwf ; WeeksInterval, DaysOfTheWeek
|
|
StartDate = Today
|
|
EndDate = 12/31/99
|
|
StartTime = Now
|
|
MinutesDuration = 60
|
|
MinutesInterval = 10
|
|
HasEndDate = 1
|
|
KillAtDuration = 1
|
|
Disabled = 0
|
|
|
|
/ctj
|
|
Type = MonthlyDate
|
|
TypeArguments = 1-10,20-31, JanJunJul ; DaysOfTheMonth, Months
|
|
StartDate = 1/20/96
|
|
EndDate = 2/29/96
|
|
StartTime = 21:00
|
|
MinutesDuration = 240
|
|
MinutesInterval = 60
|
|
HasEndDate = 0
|
|
KillAtDuration = 1
|
|
Disabled = 0
|
|
|
|
/ctj
|
|
Type = MonthlyDOW
|
|
TypeArguments = 2, U.T.R.A, OctNovDec ; Week, DaysOfTheWeek, Months
|
|
StartDate = 1/20/96
|
|
EndDate = 2/29/96
|
|
StartTime = 08:59
|
|
MinutesDuration = 20
|
|
MinutesInterval = 6
|
|
HasEndDate = 1
|
|
KillAtDuration = 0
|
|
Disabled = 0
|
|
|
|
|
|
/ctj
|
|
Type = OnIdle
|
|
StartDate = Today
|
|
EndDate = 12/31/99
|
|
StartTime = Now
|
|
MinutesDuration = 60
|
|
MinutesInterval = 10
|
|
HasEndDate = 0
|
|
KillAtDuration = 0
|
|
Disabled = 0
|
|
|
|
/ctj
|
|
Type = AtStartup
|
|
StartDate = 12/31/95
|
|
EndDate = 1/1/96
|
|
StartTime = 0:00
|
|
MinutesDuration = 120
|
|
MinutesInterval = 119
|
|
HasEndDate = 1
|
|
KillAtDuration = 0
|
|
Disabled = 0
|
|
|
|
|