Managing Remote Tasks

This article covers the following topics:

Managing Remote Tasks - Overview

Running Remote Tasks Manually

Creating & Editing Remote Tasks

Viewing Remote Task Properties

Controlling Remote Tasks

Organizing Remote Tasks

Sharing Tasks Between Computers


When a connection is established to one or more remote AutoMate clients, a new computer icon corresponding to the remote connection will appear in the Task Folders pane and folders present on the remote machine will appear directly under the computer icon. You can switch back and forth from the local AutoMate client and various remote clients by simply clicking the corresponding computer or folder icon on the Task Folders pane. For more details regarding remote connection, see Connecting to Remote Machines.

Running Remote Tasks Manually

AutoMate installations (whether it be a Professional, Premium or Runtime Edition) are mutually exclusive. In other words, an AutoMatet task service installed remotely does not rely on the local task service or other remote tasks services to execute a task. When connected to a remote client, a user can add, remove or modify properties of a managed task, enable/disable triggering and run tasks remotely. However, once a task is sent to another machine, there is no interaction that takes place between the remote and local AutoMate client when the task launches.

When working with remote tasks, keep in mind that what appears on the Task Administrator is relative to the remote client. Therefore, if a remote task is executed manually from the local Task Administrator (by selecting a remote task and clicking the Run button), the task will run on the remote machine, not on the local machine. The user will, however, still receive completion, failure and error notifications locally in the Messages output (bottom right) pane of the local Task Administrator. For more details regarding manually running a task, see Manually Starting or Stopping Managed Tasks.

Creating & Editing Remote Tasks

When creating a task remotely or modifying steps of a remote task, the Task Builder that appears on the screen is relative to that of the local machine. Because of this, certain task, action or trigger properties will show data that is accessed via the local hard disk. Certain actions or triggers may not function properly unless settings are modified to reflect file locations and/or system properties relative to the machine that the task will eventually execute on. For instance, the General tab properties of the Copy File action contains a Source and Destination parameter which requires a drive location to be entered for the source and destination file. Clicking the Folder icon next to the Source or Destination parameter will open a standard Explorer window that displays files and folders of the local drive. Therefore, to specify a drive location relative to the remote machine, the developer must enter the information manually on the provided text box. See About Creating Tasks for more details.     

Viewing Remote Task Properties

When viewing the properties of a remote task that indicate a drive location, the data that appears on the Managed Task Properties dialog for that task is relative to the remote machine. For example, when viewing the properties of a remote task named My Remote Task, the General tab properties  may indicate that the physical location of the task is:

C:\ProgramData\Network Automation\AutoMate 9\Tasks

This is actually pointing to the remote machine's C:\ drive, and not that of the local machine. However, when clicking the Location button in order to specify a different drive location, the Explorer window that comes into view reflects the local machine's drive instead. So, to specify a path relative to the remote machine, it must be entered manually. See About Managed Task Properties for more details.

Controlling Active Remote Tasks

Tasks that are running or queued on a remote machine can be viewed and/or controlled from the local Task Administrator. Once remote connection is established, their IP address, host name or computer name will appear in the System menu. Simply navigate to the appropriate machine and select Show Running Tasks (as shown below). A Running Tasks dialog box will appear displaying any remote tasks that are currently running. See Manually Starting or Stopping Managed Tasks for more details.

Organizing Remote Tasks

Once connected to a remote AutoMate client (whether it is a Runtime component or full version), the process of organizing tasks and folders located on a remote machine is identical to organizing local tasks and folders. A user can create new remote folders and nest folders one inside another. When creating a new remote task, it will be placed in the folder that currently appears in the main viewing area of the Task Administrator. . Other procedures include deleting or renaming remote folders/tasks or copying/moving folders or tasks from one folder to another. See Organizing Tasks for more details.

Sharing Tasks Between Computers

Once you have a connection to one or more remote machines, you can share tasks among them by copying or moving the tasks from one machine to another. You can copy or move tasks or folders from any connected machine to any other connected machine. You can also use the Deploy feature to run local tasks on remote machines.

NOTE: If specific files are involved in a task, they must be attached to the task in order to be copied or moved along with the task file.

To copy a task or folder:

  1. In the Task Folders pane, select the computer or folder that contains what you want to copy.

  2. In the right pane, select the task or folder to copy.

  3. On the Edit menu, click Copy.

  4. In the Task Folders pane, select the computer or folder where you want to place the copied task or folder.

  5. On the Edit menu, click Paste.

To move a task or folder:

  1. In the Task Folders pane, select the computer or folder that contains what you want to move.

  2. In the right pane, select the task or folder to move, and then drag it to a folder or machine in the Task Folders pane.

NOTE: Another way to share tasks between machines would be to use the Export and Import options.

See Also

About Remote Administration

Enabling Remote Administration

Connecting to Remote Machines

Deploying Tasks Remotely

Viewing Events Remotely (Premium Edition)