--- title: "Agent Tasks" --- # Agent Tasks > Once the Gateway Network is up, and there is at least one controller and one agent configured, there are a variety of actions that can be performed on your agents in the form of Agent Tasks. ## Using The Gateway Network Agent Tasks involve performing a specific task to one or more specific agents. The Agent Tasks page contains three tabs: * Available Tasks which contain tasks waiting to run. * Running and Scheduled Tasks which include any tasks that are currently running or scheduled to be run. * Task History, which provides a list of all previously run tasks. Although there are many different types of tasks to choose from, they are mostly Gateway level actions like taking a Gateway backup or activating a license. ## Create an Agent Task 1. To create an Agent Task, go to the controller Gateway, and select **Network** on the Gateway Webpage. 2. Select **Enterprise** > **Agent Tasks**. This opens the Agent Tasks page. ![](2020-03-10_14-20-10.png) 3. Click **Create Agent Task +**. ![](2020-03-11_13-36-02.png) The options for Agent Tasks are listed in the following table. |Task|Description| |--|--| |Activate License |Activate a license key on selected agent Gateways.| |Collect Backup |Collect a Gateway backup from an agent machine.| |Install Modules | Install one or more modules on selected agent Gateways.| |Remote Agent Upgrade| Prepare a full system upgrade on selected agent Gateways.| |Restart Agent |Restarts the Ignition service on the agent machine.| |Restore Backup |Restore a Gateway backup on selected agent Gateways.| |Send Project |Distributes a project to remote servers. Replaces the project on the remote server as if an export/import was performed.| |Send Project Resources|Distributes project resources, like windows and templates, to remote servers. **Note**: This is typically performed from a controller Gateway to an agent Gateway, but you can also send project resources from agent Gateway to agent Gateway.| |Send Tags| Distributes controller tags to agents. | |Unactivate License|Unactivate a license key on selected agent Gateways.| |Update License|Update the license on selected agent Gateways.| 4. Select task and then click **Next**. The Task Scheduling form is displayed. Tasks can be scheduled to run in a few different ways depending on your needs. In the example below, the task is set to execute immediately. ![](2020-03-10_13-46-08.png) 5. Click **Next** to finish creating your task with the Agent Selection and Settings forms. 6. Review your settings on the Task Summary form. If you're ready to go, click **Create Agent Task**. Your task will be submitted according to the schedule type you defined. ![](2020-03-10_14-05-13.png) ## Agent Task Status You can utilize the **Running & Schedule** and **History** tabs to gain more insight to the Agent Task Status beyond what is shown on the Available tab. Any Agent Tasks that encountered an error will be listed on the History tab with a dropdown that displays the log message. ![](2020-03-10_14-07-25.png) ## Retrying Agent Tasks Should a task fail, you can directly execute the task again without needing to set the task back up by using the **Retry** option. 1. On the Gateway webpage, navigate to **Network** > **Enterprise** > **Agent Tasks**. ![](2020-03-10_14-20-10.png) 2. Expand the three dots menu for the task you want to retry, and select **Retry**. ![](image-2023-10-10_8-59-3.png) 3. The Gateway will ask for a confirmation. Click **Confirm**. The controller will now attempt to run the task again. ### Resuming Failed File Transfer Tasks If a [Remote Upgrade](ignition-modules/enterprise-administration/agent-management/remote-upgrade/remote-upgrade.md) task that involves file transfers fails to complete, Ignition will resume the file transfer task when you choose the **Retry** option. In this situation, Ignition will resume transferring the specified file(s) from the point where the process was interrupted.