---
title: "Return AutoSSL check script cron entry"
method: GET
path: "/get_autossl_check_schedule"
tags: ["SSL", "Auto-Generated Certificates"]
---

# Return AutoSSL check script cron entry

`GET /get_autossl_check_schedule`

This function returns the cron entry for the `autossl_check.pl` AutoSSL certificate check script.

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `cron` string[] — A list of the time elements of a cron entry that schedules when the script will run. For more information about each element in a cron entry, read the [Cron Wikipedia article](https://en.wikipedia.org/wiki/Cron).
    - `next_time` string, ISO-8601 Date Time — The next time that the script will run. A time value, in [ISO-8601](http://www.iso.org/iso/home/standards/iso8601.htm) format.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` - Success. * `0` - Failed. Check the `reason` field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
