For the complete documentation index, see llms.txt. This page is also available as Markdown.

List website cron jobs

Returns a paginated list of cron jobs configured for an Agency Plan website. Each entry includes the schedule expression and the command executed on that schedule.

List website cron jobs

get

Returns a paginated list of cron jobs configured for an Agency Plan website.

Each entry includes the schedule expression and the command executed on that schedule.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
website_uidstringRequired

Agency Plan website UID

Example: zpwlGlp19
Query parameters
pageintegerOptional

Page number

Example: 1
per_pageinteger · max: 100Optional

Number of items per page

Default: 25Example: 25
Responses
200

Success response

application/json
get/api/agency-hosting/v1/websites/{website_uid}/cron-jobs
GET /api/agency-hosting/v1/websites/{website_uid}/cron-jobs HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "uuid": "01931d6f-68f5-7b72-8d9e-09c6e1e6aa0e",
      "time": "*/30 * * * *",
      "command": "php artisan schedule:run",
      "created_at": "2024-10-28T12:00:00+00:00"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 15,
    "total": 100
  }
}

Last updated

Was this helpful?