Scheduled Jobs

URL:
https://<BatchValidation-url>/scheduledJobs
Methods:
GET
Operations:
Edit Job, Enable Job, Disable Job, Delete Job
Required Capability:
Data Reviewer Server
Version Introduced:
10.1

Description

A REST resource that returns a list of existing jobs' details.

A scheduled job is a Reviewer batch job (.rbj) that has been scheduled to run validations on ArcGIS Data Reviewer. These jobs have Reviewer session Ids and an execution schedule set with a cron expression. You can modify, enable, disable, or delete a scheduled job.

To format a request to change, enable, disable, or delete a job, append scheduledJobs, jobId, and operation to a batch validation resource.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json

Example usage

Return a list of scheduled job details.

Use dark colors for code blocksCopy
1
https://localhost:6080/arcgis/rest/services/reviewer/MapServer/exts/DataReviewerServer/BatchValidation/scheduledJobs?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"scheduledJobs": [
  {
   "jobId": "f2b5239c-8163-480b-9671-ff150017bcc1",
   "title": "",
   "createdBy": "",
   "creationDate": 1335484124000,
   "status": "Scheduled",
   "settings": {
    "batchJobFileName": "SewerChecks.rbj",
    "sessionId": "Session 1 : Session 1",
    "userName": null,
    "changedFeaturesOnly": false,
    "analysisArea": null,
    "productionWorkspace": "c:\\data\\LocalGovernment.sde"
   },
   "schedule": {
    "cronExpression": "0 30 10 * * ?"
   },
   "executionDetails": null
  }
 ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.