FileDeployJob - setJobRepeaterUsage

FileDeployJob - setJobRepeaterUsage

Description :

Sets options for pushing source files to targets indirectly, via repeaters. 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.

stagingDirectory

String

The staging directory to be used for the push. It must be specified as an absolute path.

cleanupStagingAfterPush

Boolean

True indicates that the staging directory is to be cleaned up after the push.

numParallelPushes

Integer

Specifies the number of pushes that can occur in parallel. This number should be in the range 1-100.

synchronizePushToRepeaters

Boolean

True indicates that files are to be pushed to repeater based on Sync Push options. This can only be set to True if the sync push options are set (via setSyncPush).

Example

The following example sets the repeater usage options of an existing job.

Script





FileDeployJob setJobRepeaterUsage JobName /JobGroup /C/tmp/stage true 5 false 



Was this page helpful? Yes No Submitting... Thank you

Comments