Set a Polling Schedule for Cyware Agent
Cyware Agents execute actions from playbooks and apps through the actions nodes and the executed actions are called Agent Tasks.
How does scheduled polling work?
Analysts can set up a polling schedule to schedule Cyware Agents. Polling is the process where Orchestrate attempts to connect to the Cyware Agent to retrieve information from the deployed on-premise solutions. For example, if the polling duration for a Cyware Agent is set to 5 minutes, Orchestrate will try to connect to the Cyware Agent every five minutes to fetch information. If there is a playbook that utilizes Cyware Agent with a 5-minute schedule, it will be put on hold until the agent task is executed at the scheduled time.
How to configure the polling schedule?
The polling schedule must be in a cron format. For example, a cron expression */5****I will run the command, once in five minutes. You can also configure the number of tasks to be polled in a single call using the polling schedule. By default, the polling schedule is 5 minutes, and the maximum allowed tasks to poll in a single call is 10.
Before you Start
Ensure you have the Create/Update Cyware Agent Configuration permission to schedule the Cyware Agent tasks.
Steps
Schedule Cyware Agent Tasks
You can schedule polling at the time of deploying the Cyware Agent on your machine.
To configure a polling schedule, do the following:
For details about installing Cyware Agent. See Cyware Agent Installation Guide.
Enter the schedule in a cron format in the command prompt. By default, the polling schedule is 5 minutes.
To know more about the installation procedure and configuring the polling schedule, see step 9 of Install Cyware Agent procedure.
Update Cron Schedule of Cyware Agent
You can update the cron schedule of a configured Cyware Agent from the .env
of the agent installation path.
To update the cron schedule, do the following:
Navigate to the
.env
file of the agent installation folder.Edit the .env file using any file system. For example,
vi .env
Update the Cron expression and save the file from the file system.
View Scheduled Cyware Agent Tasks
You can view the scheduled agent tasks under the Cyware Agent module in Orchestrate.
To view the scheduled Cyware Agent tasks, do the following:
Sign in to Orchestrate, and go to Main Menu > Admin Panel.
Click Cyware Agent and choose the agent group. The agent group displays the schedule for all the agents associated.
The Schedule field displays the configured polling schedule for the agent.