5 2 0:Creating a Command Event

From SEPsesam


Welcome to the latest SEP sesam documentation version 5.2.0 Artemis. For previous documentation version(s), check documentation archive.


Overview


SEP sesam commands enable you to run specific functions on a SEP sesam Client, which can be used to perform or automate different actions in SEP sesam environment. To run a command, you must first define a command and then create and schedule a command event.

A command task contains the command and optional additional parameters. A command can be executed once (with the option Immediate start) or linked with a command event to a schedule for regular or repeated execution. A command task can contain just the basic arguments, and the command event can specify the additional options to specialize the command.

Note
In case the command task and the command event specify the same paramaters, the settings in command task take precedence and override the settings in the command event.

Create a command task

To create a new command, go to Main Selection -> Tasks -> Commands, and click on New Command. The New Command window opens.

Alternatively, you can create a new command task in web UI. Navigate to Backup Strategy -> Command Tasks, and then click on New command task button. The New Command window opens.

Define the settings and options as required. For detailed explanations of the available options, refer to section Command task options.

Click OK to create your command. You can review your commands and assigned events, trigger commands to start immediately, or delete them by right-clicking the selected command.

Command task options

When creating or modifying a command, the following options are available to customize its settings and behavior.

Options

Screenshots

Create a command event

You can create a command event in two ways:

  • From Command view (Main Selection -> Tasks -> Commands)
  • From Schedules view (Main Selection -> Scheduling -> Schedules)

Note that in the Schedules view you can also change the settings for the schedule. In the Command view you can review the schedule settings, but you cannot modify them.

To create a new command event from the Command view, from Main Selection -> Tasks -> Commands, select the command for which you want to add a command event. Then right-click the selected command and click New Command Event. The New Command Event window opens.

Alternatively, you can also create a command event from the Schedule view. From Main Selection -> Scheduling -> Schedules, right-click the schedule to which you want to add a command event and then click New Command Event. The New Command Event window opens.

Define the settings and options as required. For detailed explanations of the available options, refer to section Command event options.

Note that by default the command event will be added to a schedule. To configure a new schedule, see Creating a Schedule.

To schedule the command event, click Schedule tab. In the Name drop-down list, select the schedule to which you want to assign the command event. If you do not want to add this event to a schedule, select Without Schedule.

Click OK to create your command event. You can review your commands and assigned events, trigger events to start immediately, or delete them by right-clicking the selected event.

Note
The SEP sesam Web UI offers an overview of the configured commands and enables you to trigger immediate start.

To review and start commands in web UI, navigate to Backup Strategy -> Command tasks, and click on a command to open the properties window.

Command event options

When creating or modifying a command event, the following options are available to customize its settings and behavior.

Options

Screenshots


See also

Managing Commands - Managing Events - Creating Follow-up EventsCreating a ScheduleAbout Scheduling

Copyright © SEP AG 1999-2025. All rights reserved.
Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.