Caché System Administration Guide
Using the Task Manager
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Using the Task Manager
To use the Task Manager, select System Operation > Task Manager) to display the following menu options:
Note:
The Task Manager polls every 60 seconds to see if there are any Tasks to be run. When you click Perform Action Now to schedule a Task, there may be a delay of up to 60 seconds before the newly scheduled Task actually runs.
New Task
The New Task option starts the Task Scheduler Wizard.
  1. The first page of the wizard asks for the following information:
  2. Click Next to specify when you want the task to run.
  3. Click Finish to schedule the task.
All tasks are configured to expire by default. To change this:
  1. Open Terminal.
  2. Enter zn “%SYS” to change to the %SYS namespace.
  3. Enter do ^TASKMGR.
  4. Select option 2.
  5. Enter the task number you want to edit.
  6. Press Enter to save the defaults of each option until you reach Task Expires?
  7. Enter No.
    The selected task will no longer expire.
There are three additional expiration fields that control when a task expires. These are controlled by days, hours, and minutes. To adjust when a specific task expires:
  1. Open Terminal.
  2. Enter zn “%SYS” to change to the %SYS namespace.
  3. Enter do ^TASKMGR.
  4. Select option 2.
  5. Enter the task number you want to edit.
  6. Press Enter to save the defaults of each option until you reach Expires in how many days?, Expires in how many hours?, or Expires in how many minutes?
  7. To edit the expiration times of this task, enter the days, hour, or minutes you would like to schedule.
    The values for this expiration are now saved.
For details on the information necessary to schedule or edit a task, see the %SYS.TaskSuper class documentation in the InterSystems Class Reference.
On-demand Task
The On-demand Task page (System Operation > Task Manager > On-demand Task) lists the tasks you have scheduled as on-demand. The list includes the task name, a description, and an option to Run the task from this page. You can sort the information in the table by clicking any column heading. When you click Run, the Run Task Wizard page displays the task name and ID, and the date and time the task will run; click Perform Action Now to confirm the information and schedule the task.
Upcoming Tasks
The Upcoming Tasks page (System Operation > Task Manager > Upcoming Tasks)lists the tasks scheduled to run within a certain interval. To select an interval, click an option in the Scheduled to run: search pane to the left of the task list. If you select the To a date option, you can either enter a date in yyyy-mm-dd format or click the calendar icon to select a date from the calendar.
You can sort the information in the task list by clicking any column heading. You can Suspend or Resume the scheduling of each task by clicking the appropriate option:
Task Schedule
The Task Schedule page (System Operation > Task Manager > Task Schedule) lists all scheduled tasks. You can sort the information in the table by clicking any column heading. You can view Details or History, as well as Run, a scheduled task by clicking the appropriate option:
Task Details
To display detailed information about a scheduled task and perform one of several operations on it, click the task’s name in the Task Name column. The Task Details page displays information and execution details about the selected task. You can perform one of the following operations on the task by clicking the appropriate button:
Note:
Some of the actions options described are unavailable while a task is running.
Scheduled Task History
To display history information about an individual scheduled task, click the History link in the row of the item. The Task History page displays detailed history for the selected task. The Result column indicates the outcome the last time the task was run, showing either Success or an error message. You can sort the information in the table by clicking any column heading.
The Details link at the top of the page displays the Task Details page for the selected task.
Task History
The Task History page (System Operation > Task Manager > Task History) lists the history of all tasks executed by the Task Manager. You can sort the information in the table by clicking any column heading.
Import Tasks
The Import Tasks page (System Operation > Task Manager > Import Tasks) lets you import and run a task by browsing to a previously-exported task file, then clicking Perform Action Now. For information about exporting tasks to a file, see Task Details in this section.