Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion src/developer/web-api/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same parameter?


Table: `META_DATA_SYNC` job parameters

Expand Down Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions src/user/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down