Schedule Task and Poll Pack.#This Playbook is part of the
Supported Cortex XSOAR versions: 6.0.0 and later.
This playbook will schedule a specified command and monitor for completion by looking for output in context. Make the playbook context shared globally if you have a command that returns to Context automatically, and you have a specific key to monitor. The key monitored must be a single field value and not an array.
This playbook uses the following sub-playbooks, integrations, and scripts.
- Context Polling - Generic - Single Output
- Context Polling - Generic - Array Output
This playbook does not use any integrations.
This playbook does not use any commands.
|Command||Command to Schedule||!Print value="The command has executed"||Required|
|Cron||In the format|
* * * * *
Min Hour Day(Month) Month Day(Week)
1 9 * * *
- (server time) run !GetTime to see server time
|Number of Times to Run||How many times to run before stopping (based on cron as well)||Required|
|OutputContextValue||Provide the Key of the value that will be output from the command to poll for completion. If specifying a context value of a command that already outputs to Context set context for sub-playbook to be shared globally.||Optional|
|FrequencyToPoll||Frequency to run polling command to check context (in minutes)||1||Required|
|RegExVal||The regex to check the field for. By default the regex contains .+, which matches anything other than None.||.+||Required|
|SchedulingTask.schedResults||Results from command executed||unknown|