Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Historian

aaAddReplicationSchedule

  • Last UpdatedMar 10, 2025
  • 1 minute read

Add or modify the schedules for replication.

Syntax

aaAddReplicationSchedule ReplicationScheduleName, ReplicationScheduleTypeName, ReplicationScheduleAbbreviation, CreateGroup, Period, Unit, TimesOfDay, ReplicationScheduleKey

where:

Argument

Description

ReplicationScheduleName

The name of the schedule. This parameter is required. This value is of data type nvarchar(255), with no default.

ReplicationScheduleTypeName

The name of the schedule type. Can be either INTERVAL or CUSTOM. This value is of data type nvarchar(32), with a default of INTERVAL.

ReplicationScheduleAbbreviation

Will be used when creating groups as group abbreviation if not specified. This value is of data type nvarchar(32), with a default of the schedule abbreviation.

CreateGroup

If set to TRUE, groups will be created automatically when the replication server is created. This value is of data type bit, with a default of 1.

Period

The period value. This parameter is required when the schedule type is INTERVAL. This value is of data type smallint, with a default of 0.

Unit

The name of the unit. This parameter is required when the schedule type is INTERVAL. This value is of data type nvarchar(32), with a default of an empty string.

TimesOfDay

A semicolon-separated list of the times of day. This parameter is required when the schedule type is CUSTOM. This value is of data type nvarchar(max), with a default of an empty string.

ReplicationScheduleKey

The unique identifier for the schedule. If specified, this will overwrite the properties of the identified schedule. This value is of data type int, with a default of NULL.

Permission

Execute permission defaults to the aaPowerUsers and aaAdministrators groups.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in