Example: Jobs from repository properties file

WSGrid can submit jobs stored in the job repository. You can use a repository properties file to specify the saved job definition and its substitution properties.

If the PostingsSample job is stored in the repository under the name PostingsSample, you can use the following properties file, named WSGrid.repo-postings.job, to specify the saved job definition and its substitution properties:

# This specifies which job from the repository to submit.  
repository-job=PostingsSample  
  
# The following substitution property values will be passed to the job.  
substitution-prop.wsbatch.count=5  
substitution-prop.checkpoint=timebased
substitution-prop.checkpointInterval=15  
substitution-prop.postingsDataStream=${was.install.root}/temp/postings"
The WSGrid invocation to submit the job described by the preceding properties file is:
WSGrid WGrid.cntl WSGrid.repo-postings.job

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 5, 2017 17:24
File name: rgrid_cg_example_repo.html