DeviceLock Content Security Server : Using Search Server : Automating search operations : Managing existing tasks
  
Managing existing tasks
The details pane lists the search tasks stored on the server when DeviceLock Content Security Server > Search Server > Tasks is selected in the console tree. The list provides the following details on each task:
Name - The name of the task.
Status - One of the following:
Waiting - Schedule is inactive, task can be run by hand.
Scheduled - Waiting for the run on a schedule.
Running - Task execution is in progress.
Finished - Last run completed successfully.
Failed - Task encountered an error.
Schedule - Identifies the task schedule.
Results Found - Total number of items found during all runs of the task, along with the number of items found during the last run enclosed in parenthesis.
Results Sent To - Report recipient addresses if report delivery via e-mail is configured; otherwise, empty.
Last Run Time - Date and time of the last run of this task.
The shortcut menu on the Tasks node provides the following commands:
Create Task - Creates a new task. One can specify the desired task settings on the pages that appear upon selecting this command. See Creating and configuring a new search task for details.
Export All Tasks - Saves all tasks to an export file.
Import Tasks - Imports search tasks from an export file.
One can export search tasks to a file and then import them from the export file. This function is useful, for example, when copying tasks to another server. See Exporting and importing tasks for details.
Refresh - Updates the list of tasks with the latest information.
The shortcut menu on a search task in the details pane provides the following commands:
Edit Task - Opens the dialog box to view or change the settings of the selected task.
Duplicate Task - Creates a new task with the settings copied from the selected task. One can view or change the settings of the new task in the dialog boxes displayed by this command.
By default, the new task name is composed of the “Copy of” prefix followed by the name of the selected task. When creating two or more copies of a task, the new task name includes a numeric suffix indicating the number of the copy.
Delete Task - Deletes the selected task.
If a given task was ever run, and thus has any reports, then the console prevents deletion of that task. To delete such a task, one first need to delete the task’s reports.
Export Task - Saves the selected task to an export file.
One can create a task from an export file by using the Import Tasks command on the Tasks node in console tree.
Run Task - Use this command to run the task by hand at any time.
Stop Task - Causes immediate stop of the selected task. This command replaces the Run Task command for the tasks that are currently running.
Refresh - Updates the list of tasks with the latest information.
The commands on the shortcut menu can be used to:
Run a given task - Right-click the task, and then click Run Task.
View or change the search query for a given task - Right-click the task, click Edit Task, and then follow the steps to set up the search query as listed in the Creating and configuring a new search task section earlier in this document.
View or change the name, schedule, or report delivery for a given task - Right-click the task, click Edit Task, and then follow the steps to configure the task name, schedule and results settings as listed in the Creating and configuring a new search task section earlier in this document.
The Edit Task pages are almost the same as the pages of the task creation wizard. The only difference is that the Edit Task pages display the current task settings, and then allows one to make and save changes to the selected task instead of creating a new one.
Create a new search task by copying an existing one - Right-click the task to copy, click Duplicate Task, and then follow the steps to create a new task as listed in the Creating and configuring a new search task section earlier in this document.
The Duplicate Task pages are almost the same as the pages of the task creation wizard. The only difference is that the Duplicate Task pages are pre-populated with the settings copied from the selected task.
Delete a given task - First ensure that the task does not have any reports. Double-click the task to view a list of the task’s reports, and then delete all reports from that list: Press Ctrl+A to select all reports, right-click the selection, and then click Delete Reports on the shortcut menu. Having deleted all reports, click Tasks in the console tree to return to the list of tasks, right-click the task, and then click Delete.