diff --git a/src/developer/web-api/scheduling.md b/src/developer/web-api/scheduling.md index 208bb9ae0..37e2afb42 100644 --- a/src/developer/web-api/scheduling.md +++ b/src/developer/web-api/scheduling.md @@ -78,7 +78,8 @@ Table: `DATA_SYNC` job parameters | Name | Type | Default | Description | |---------------|---------------|---------|--------------------------------------------------| -| `pageSize` | int | `10000` | number of data values processed as a unit | +| `pageSize` | int | `10000` | number of aggregate data values processed as a unit | +| `pageSize` | int | `60` | number of events or tracked entities processed as a unit | Table: `META_DATA_SYNC` job parameters @@ -179,6 +180,26 @@ An example of a job with scheduling type `FIXED_DELAY` and 120 seconds delay: } ``` +An example of scheduling a job to synchronize single event data + +```json +{ + "name": "Single event data synchronization", + "jobType": "SINGLE_EVENT_DATA_SYNC", + "cronExpression": "0 * * ? * *" +} +``` + +An example of scheduling a job to synchronize tracked entity data + +```json +{ + "name": "Tracked entity data synchronization", + "jobType": "TRACKED_ENTITY_DATA_SYNC", + "cronExpression": "0 * * ? * *" +} +``` + ### Get Job Configurations List all job configurations: diff --git a/src/user/scheduling.md b/src/user/scheduling.md index c6118571c..83b6ed8cc 100644 --- a/src/user/scheduling.md +++ b/src/user/scheduling.md @@ -275,8 +275,7 @@ Some aspects of the data synchronization feature to be aware of: synchronization time is tracked individually for each item as previously mentioned. -- The attributes of TrackedEntityInstances (TrackedEntityAttribute) and the data - elements of ProgramStages (ProgramStageDataElement) which have an option "Skip +- The data elements of ProgramStages (ProgramStageDataElement) which have an option "Skip synchronization" turned on will not be synchronized. This feature allows you to decide to not synchronize some sensitive or not relevant data and to keep them only locally.