# | Name | Location | Type | Details | Index | Description |
---|---|---|---|---|---|---|
.01 | name(+) | 0;1 | POINTER | 19 | B | This field is a pointer to the OPTION file and indicates which option is to be scheduled to be run by taskman. Only options that have the 'Scheduleing Recommended' field set to YES can be selected. |
2 | queued to run at what time | 0;2 | DATE-TIME | If this field has a value, the Task Manager will try to run this OPTION on or after the date/time entered. This field should NOT have a value if the OPTION TYPE is MENU, INQUIRY, or EDIT, since it doesn't make sense to start up automatically a process that requires user terminal input. | ||
3 | device for queued job output | 0;3 | FREE TEXT | The name of the device on which this Option will be queued to print by TaskMan. If, at the time the queueing, TaskMan cannot identify a device by this name, then the job will not be run. | ||
4 | other device parameters | 0;4 | FREE TEXT | This field is not in use yet. | ||
5 | queued to run on volume set | 0;5 | FREE TEXT | This field is used to let the Task Manager know where to run the queued job. | ||
6 | rescheduling frequency | 0;6 | FREE TEXT | This field has a value only if the OPTION is to be re-queued automatically for a subsequent run every time it is run by the TaskManager. Valid codes are: Every n seconds nS Every n hours nH Every n days nD Every n months nM Day of Week day[@time] weekday D[@time] weekend day E[@time] (saturday, sunday) Different days in month nM(sch...) sch: dd[@time] day of month ie: 15 nDay[@time] day of week in month ie: 1W,3W first and third wednesday L last day:= M monday T tusday W wednesday R thursday F friday S saturday U sunday Examples: 1M(1,15) The first and 15th of the month. 1M(L) The last day of the month. 1M(LS) The last saturday of the month. W@4pm Each wednesday at 4 pm. D Each weekday | ||
9 | special queueing | 0;9 | SET OF CODES | S:STARTUP SP:Startup Persistent P:Persistent | If this Option is set for "STARTUP", then TaskMan will queue the job to run whenever the TaskMan/computer is started up, i.e. at System Boot. If this Option is set for "Startup/Persistent", then Taskman will queue the job as it does for "STARTUP" and it will mark it as a persistent task to be restarted if it stops unexpectedly. If this Option is set for "Persistent" then TaskMan will run it on its normal schedule, marking it as Persistent, This way TaskMan will restart the task if it stops unexpectedly. When a task stop in a normal fashion its persistent flag will be cleared. | |
10 | other parameters | 2;0 | MULTIPLE | 19.21 | This multipule holds name-value pairs that are setup before the option is run. | |
11 | user to run task | 1.1;1 | POINTER | 200 | This field will allow a site to select the user that should run a given scheduled task. To set this field you must hold the XUMGR key. The user must be an ACTIVE user on the system. This is checked with $$ACTIVE^XUSER() An example would be to have Postmaster run the MailMan background filers. Or to create a special user to run HL7 background filers. | |
12 | task id | 1;1 | FREE TEXT | This field is only to be set by TASKMAN. It holds the TASK number that was assigned to run the option. | ||
15 | task parameters | 3;E1,245 | FREE TEXT | This field holds a string that is passed to queued jobs thru the variable ZTQPARAM. You will have to lookup in the options description how to use this field. | ||
99.1 | task defind | COMPUTED |
Not Referenced