Skip to main content

ScheduleCommand

This Script is part of the Common Scripts Pack.#

Schedules a command to run inside the War Room at a future time. Can be once or reoccurring.

Script Data#


NameDescription
Script Typejavascript
TagsUtility
Cortex XSOAR Version5.0.0

Used In#


This script is used in the following playbooks and scripts.

  • Schedule Task and Poll

Inputs#


Argument NameDescription
commandThe command to schedule.
cronThe scheduled time to run. Uses UTC (Coordinated Universal Time).
endDateWhen should we end the schedule. Will be only relevant if times is not provided. Optional. Format is 'Mon, 02 Jan 2006 15:04:05 MST'
timesThe number of times to run. Optional.
scheduledEntryGuidThe GUID of the scheduled entry that runs the polling command.

Outputs#


There are no outputs for this script.