Jobs Object


A recurring data synchronization job that automatically runs data movement operations on a schedule.

Data sync jobs use cron expressions to define when to move data between sources and destinations. Each scheduled execution creates a new data movement job that can be tracked separately.

Properties
idstringRead-onlyformat GUID

Data sync job ID.


revisionstringRead-onlyformat int64

Revision number that increments by 1 each time the data sync job updates. To prevent conflicting changes, pass the current revision when updating the data sync job.

Ignored when creating a data sync job.


namestringmaxLength 1024

Data sync job name.


enabledboolean

Whether the data sync job is enabled for execution.

When true, the job runs according to the schedule defined by cronExpression. When false, the job doesn't run.


cronExpressionstringmaxLength 200

Cron expression defining when the data sync job should run.

Uses standard 5-field cron format (minute, hour, day of month, month, day of week) in UTC. Supports using H for minute randomization. For example, 0 2 * * * runs daily at 2:00 AM UTC, or H 2 * * * runs daily at 2:XX AM UTC where XX is a random minute.


sourceSource

Source to read data from.


destinationDestination

Destination to write data to.


sourceSiteIdstringformat GUID

When moving data from the Wix data collection of a site other than the current site, the ID of the site to read from.

By default, the source site is the current site. However, you can move data from any site in the same Wix Account.

Note: You can specify the ID of a source site or a destination site other than the current site, but not both.


destinationSiteIdstringformat GUID

When moving data to the Wix data collection of a site other than the current site, the ID of the site to write to.

By default, the destination site is the current site. However, you can move data to any site in the same Wix Account.

Note: You can specify the ID of a destination site or a source site other than the current site, but not both.


lastExecutionDatestringRead-onlyformat date-time

Date and time when the sync job was last run.


lastJobIdstringRead-onlyformat GUID

ID of the data movement job created by the most recent execution.

Use this ID with the Data Movement Jobs API to check the status and results of the last execution. Each scheduled execution creates a separate trackable data movement job.


nextExecutionDatestringRead-onlyformat date-time

Date and time when the sync job is scheduled to run next.

Calculated based on the cron expression and current time. Returned only when the request includes nextScheduleExecution in the fields parameter.

Did this help?