Table of Contents

Search

  1. Preface
  2. Overview of the Server Manager Command Line Interface
  3. Usage Scenario: Using Server Manager CLI Commands to Run Replications
  4. Command Reference

Command Line Interface for the Server Manager

Command Line Interface for the Server Manager

create schedule

create schedule

Creates a replication schedule.

Syntax

You can enter the command with or without parameters. If you run the command without any parameters, the Server Manager CLI prompts you to enter them in interactive mode. If you specify one or more optional parameters in the command, the Server Manager CLI uses these parameter values to update the schedule in non-interactive mode and preserves the values that were last set for the other optional parameters.
To enter the command with its parameters, use the following syntax:
create schedule
schedule_name
wizard_type
configuration_name
[owner=
schedule_owner
sd=
start_date
st=
start_time
ed=
end_date
et=
end_time
days=
week_days
lst=
log_storage_time
int=
interval
-s]
The following short form, which contains the required parameters only, is acceptable:
cs
schedule_name
wizard_type
configuration_name

Parameters

The following table describes the command parameters:
Parameter
Description
Default
schedule_name
A unique name for the schedule.
Schedule names can contain only the digits 0-9, Latin letters A-Z and a-z, and the underscore (_) character. The Server Manager CLI truncates schedule names that are longer than 100 characters.
No default value.
wizard_type
The type of schedule execution scheme. Valid values are:
  • sequential
    or
    seq
  • parallel
    or
    prl
  • continuous
    or
    con
No default value.
configuration_name
The name of the replication configuration to use for the schedule.
No default value.
owner
The name of the user who is the owner of the schedule.
The user who is connected to the Server Manager Main server and invokes the create schedule command.
sd
The date on which to start the schedule, in the format that corresponds to the local system settings.
The current date.
st
The time at which to start the schedule, in the following format:
hh:mm:ss
The current time.
ed
The date on which to stop the schedule, in the format that corresponds to the local system settings.
One year after the current date.
et
The time at which to stop the schedule, in the following format:
hh:mm:ss
23:59:00
days
A comma-, semicolon-, or space-separated list of the days of the week on which to run the schedule. Valid values are:
  • mon
    - Represents Monday.
  • tue
    - Represents Tuesday.
  • wed
    - Represents Wednesday.
  • thu
    - Represents Thursday.
  • fri
    - Represents Friday.
  • sat
    - Represents Saturday.
  • sun
    - Represents Sunday.
  • all
    - Represents all days of the week.
Enclose a space-separated list with single quotation marks.
all
lst
The number of days to retain the schedule logs.
30 days
int
A repeat interval, in seconds, for running the schedule.
Omit this parameter for continuous replication schedules.
3600 seconds (60 minutes)
-s
Runs the schedule immediately after it is created.
No default value.

Examples

The following example command displays a series of prompts for entering the parameters in interactive mode and then creating the schedule:
cs
The following example command specifies all of the parameters inline and creates the continuous replication schedule that has the name Ora2Ora_schedule and uses the configuration Ora2Ora_config:
create schedule Ora2Ora_schedule continuous Ora2Ora_config owner=idradmin sd=01.04.2013 st=10:00:0 0 ed 01.04.2014 et=23:59:00 days=all lst=7

0 COMMENTS

We’d like to hear from you!