Source code of Windows XP (NT5)
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

  1. ;
  2. ; This file is an example for use with the @ command. To use it,
  3. ; type JT @NEWJOB.TXT and it will create the job object test.job
  4. ; in the %windir%\jobs directory.
  5. ;
  6. ;
  7. ; Create the job using ISchedule::NewJob
  8. ;
  9. /snj test
  10. ;
  11. ; Set the in-memory job's properties
  12. ;
  13. /sj
  14. ApplicationName = notepad.exe
  15. Parameters = ""
  16. WorkingDirectory = c:\
  17. AccountName = foo
  18. AccountPassword = bar
  19. Comment = "Use quotes around strings"
  20. Priority = NORMAL ; one of IDLE|NORMAL|HIGH|REALTIME
  21. MaxRunTime = 172800000 ; in milliseconds
  22. Interactive = 1
  23. DeleteWhenDone = 1
  24. Suspend = 0
  25. HaltOnError = 1
  26. DontStartIfOnBatteries = 1
  27. KillIfGoingOnBatteries = 0
  28. StartOnlyIfIdle = 0
  29. KillOnIdleEnd = 0
  30. ;
  31. ; Add a trigger of each type
  32. ;
  33. ; Type = {Once|Daily|Weekly|MonthlyDate|MonthlyDOW|OnIdle|AtStartup}
  34. /ctj
  35. Type = Once
  36. StartDate = Today
  37. EndDate = 12/31/99
  38. StartTime = Now
  39. MinutesDuration = 60
  40. MinutesInterval = 10
  41. HasEndDate = 1
  42. KillAtDuration = 1
  43. Disabled = 0
  44. /ctj
  45. Type = Daily
  46. TypeArguments = 3 ; DaysInterval
  47. StartDate = 1/1/96
  48. EndDate = 12/31/99
  49. StartTime = Now
  50. MinutesDuration = 60
  51. MinutesInterval = 0
  52. HasEndDate = 0
  53. KillAtDuration = 0
  54. Disabled = 0
  55. /ctj
  56. Type = Weekly
  57. TypeArguments = 1, mwf ; WeeksInterval, DaysOfTheWeek
  58. StartDate = Today
  59. EndDate = 12/31/99
  60. StartTime = Now
  61. MinutesDuration = 60
  62. MinutesInterval = 10
  63. HasEndDate = 1
  64. KillAtDuration = 1
  65. Disabled = 0
  66. /ctj
  67. Type = MonthlyDate
  68. TypeArguments = 1-10,20-31, JanJunJul ; DaysOfTheMonth, Months
  69. StartDate = 1/20/96
  70. EndDate = 2/29/96
  71. StartTime = 21:00
  72. MinutesDuration = 240
  73. MinutesInterval = 60
  74. HasEndDate = 0
  75. KillAtDuration = 1
  76. Disabled = 0
  77. /ctj
  78. Type = MonthlyDOW
  79. TypeArguments = 2, U.T.R.A, OctNovDec ; Week, DaysOfTheWeek, Months
  80. StartDate = 1/20/96
  81. EndDate = 2/29/96
  82. StartTime = 08:59
  83. MinutesDuration = 20
  84. MinutesInterval = 6
  85. HasEndDate = 1
  86. KillAtDuration = 0
  87. Disabled = 0
  88. /ctj
  89. Type = OnIdle
  90. StartDate = Today
  91. EndDate = 12/31/99
  92. StartTime = Now
  93. MinutesDuration = 60
  94. MinutesInterval = 10
  95. HasEndDate = 0
  96. KillAtDuration = 0
  97. Disabled = 0
  98. /ctj
  99. Type = AtStartup
  100. StartDate = 12/31/95
  101. EndDate = 1/1/96
  102. StartTime = 0:00
  103. MinutesDuration = 120
  104. MinutesInterval = 119
  105. HasEndDate = 1
  106. KillAtDuration = 0
  107. Disabled = 0