FileDeployJob - setJobSyncPushOptions
FileDeployJob - setJobSyncPushOptions
Description :
Sets synchronized push options for the job. The return value is the DBKey of the modified job.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
jobName | String | Name of the File Deploy Job. |
jobGroup | String | The path to the job group containing the File Deploy Job. |
fileSize | Boolean | True indicates the sync push should be based on file size. |
MD5checksum | Boolean | True indicates the sync push should be based on MD5 checksum. |
lastModified | Boolean | True indicates the sync push should be based on time and date of last modification. |
permissions | Boolean | True indicates the sync push should be based on file permissions. |
ownerships | Boolean | True indicates the sync push should be based on file ownership. |
prune | Boolean | True indicates that extraneous files and directories in the source directory should be deleted. |
Example
The following example sets the synchronized push options of an existing job.
Script
FileDeployJob setJobSyncPushOptions JobName /JobGroup true true false false true true