Skip To Content
ArcGIS Developers
Dashboard

Tasks

Description

This resource returns a list of tasks that exist within your deployment. At 10.9, the only supported task type is the GP Cleaner Job task that is created automatically once your site has been configured. At this time, the creation of additional tasks is not supported.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the task resource:

https://organization.domain.com/context/admin/system/tasks?f=pjson

JSON Response example

{
  "result": [
    {
      "generation": 12,
      "created": "Apr 14, 2021, 10:34:10 AM",
      "active": true,
      "ownerId": "b450e3ff61494d249c87f12edc440275",
      "type": "GP_JOBS_CLEANER_TASK_TYPE",
      "orgId": "0123456789ABCDEF",
      "cronSchedule": {
        "dayOfWeek": "?",
        "hour": "*",
        "month": "*",
        "dayOfMonth": "*",
        "minute": "0"
      },
      "cronExpression": "0 0 * * * ?",
      "itemId": "d68b96a1-4c39-4914-8d97-d82842a71bed",
      "runIntervalSeconds": 3600,
      "taskType": "CleanGPJobs",
      "taskState": "active",
      "taskTitle": "gpCleanerTask",
      "maxOccurrences": -1,
      "id": "87b8a97828e647e8af5d634774b2b8a7",
      "lastStart": "Apr 14, 2021, 9:00:00 PM",
      "updated": "Apr 14, 2021, 10:34:10 AM",
      "taskId": "87b8a97828e647e8af5d634774b2b8a7"
    }
  ],
  "total": 1,
  "num": 1,
  "start": 0,
  "nextStart": 0
}