...
The parent job will run immediately to create the child jobs.
After the child jobs are created, the default schedule is set to run every 6 hours so it can review the source for any new content.
The parent and child job schedules can be changed at any time.
...
Note |
---|
If you delete a child job from a folder mapping job, the job will eventually be recreated when the parent job runs again. However, the child job will not be recreated until the “Delete Pending Jobs” system job runs. You can filter the Jobs list to show just the system jobs and manually run this job. Once this job completes, the deleted child job for the folder mapping job will be recreated the next time the parent job runs. |
SkySync API | Creating a Folder Mapping Job
In general, creating a folder mapping job is not much different than creating a transfer job. The "kind" parameter is used to set the job type. It must be set to "folder_mapping."
Adding a Schedule
To set the schedule for the child jobs, set the schedule parameter within the transfer block. The schedule parameter outside the transfer block is the schedule for the parent job only.
In the example below,
The parent job is set to run automatically after creation and run every 15 mins thereafter.
The child jobs are set to a manual schedule.
Example JSON
...
POST {{url}}v1/jobs
...
...
...
SkySync API | Creating a Folder Mapping Job
In general, creating a folder mapping job is not much different than creating a transfer job. The "kind" parameter is used to set the job type. It must be set to "folder_mapping."
Adding a Schedule
To set the schedule for the child jobs, set the schedule parameter within the transfer block. The schedule parameter outside the transfer block is the schedule for the parent job only.
In the example below,
The parent job is set to run automatically after creation and run every 15 mins thereafter.
The child jobs are set to a manual schedule.
Example JSON
POST {{url}}v1/jobs | ||
---|---|---|
|
...
POST {{url}}v1/jobs | ||
---|---|---|
|
Note |
---|
Deleting Child Jobs If you delete a child job from a folder mapping job, the job will eventually be recreated when the parent job runs again. However, the child job will not be recreated until the “Delete Pending Jobs” system job runs. You can filter the Jobs list to show just the system jobs and manually run this job. Once this job completes, the deleted child job for the folder mapping job will be recreated the next time the parent job runs. |