---
title: "Get scan all's schedule."
method: GET
path: "/system/scanAll/schedule"
tags: ["scanAll"]
---

# Get scan all's schedule.

`GET /system/scanAll/schedule`

This endpoint is for getting a schedule for the scan all job, which scans all of images in Harbor.

## Headers

- `X-Request-Id` string

## Response `200`

Get a schedule for the scan all job, which scans all of images in Harbor.

- Schedule
  - `id` integer — The id of the schedule.
  - `status` string — The status of the schedule.
  - `creation_time` string, date-time — the creation time of the schedule.
  - `update_time` string, date-time — the update time of the schedule.
  - `schedule` ScheduleObj
    - `type` 'Hourly' | 'Daily' | 'Weekly' | 'Custom' | 'Manual' | 'None' | 'Schedule' — The schedule type. The valid values are 'Hourly', 'Daily', 'Weekly', 'Custom', 'Manual', 'None' and 'Schedule'. 'Manual' means to trigger it right away, 'Schedule' means to trigger it by a specified cron schedule and 'None' means to cancel the schedule.
    - `cron` string — A cron expression, a time-based job scheduler.
    - `next_scheduled_time` string, date-time — The next time to schedule to run the job.
  - `parameters` object — The parameters of schedule job

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `412` — Precondition failed
- `500` — Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) · [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cerit/harbor-api/revisions/62d78801f8df/schema)
