Sync.Config
Add this parameter if you want to define that an incremental synchronization is carried out at specific time intervals. Use JSON syntax to specify the values.
Type: Character
Example:
{"hours"
:[
2,5,14,17],"weekdays":[4,6], "timezone":"America/New_York"}
The following options are available:
- You must define one of the following options:
-
hour
: The time of the day when data is synchronized. You can enter decimal values, for example, 7,5 for 7:30 h. -
hours
: An array of hours when data is synchronized.
-
- You can define that data is only synchronized on specific days:
-
weekday
: Number of the desired day (1= Sunday, 7 = Saturday) -
weekdays
: Array of day numbers (for example, [2,3,4,5,6] for Monday to Friday)
-
- You can set a fixed time zone (the current time zone is ignored):
timezone
: Valid iOS time zone names, >> System.iOSServerTimeZone.Note: By default, the time zone setting is inherited from the parent configuration. - You can combine different settings (different synchronization times on different days):
alternates
: Array of different definitions in the same formatExample:
{…, "alternates":[{"hour":5, "weekday":3}
,{
…}]}
Note: If this configuration is invalid or not defined, the default interval for incremental synchronization is applied.