---
title: "PUT /api/projects/{pid}/spiders/{sid}/cronjobs/{cjid}"
method: PUT
path: "/api/projects/{pid}/spiders/{sid}/cronjobs/{cjid}"
tags: ["api"]
---

# PUT /api/projects/{pid}/spiders/{sid}/cronjobs/{cjid}

`PUT /api/projects/{pid}/spiders/{sid}/cronjobs/{cjid}`

## Request body

- SpiderCronJobUpdate
  - `cjid` integer — A unique integer value identifying this cron job.
  - `status` 'ACTIVE' | 'DISABLED' — Cron job status.
  - `schedule` string — Cron job schedule definition.
  - `unique_collection` boolean — True if this cron job stores its items in a unique collection.
  - `data_status` 'PERSISTENT' | 'PENDING' — Data status.
  - `data_expiry_days` integer, nullable — Days before data is deleted.
  - `resource_tier` 'TINY' | 'XSMALL' | 'SMALL' | 'MEDIUM' | 'LARGE' | 'XLARGE' | 'HUGE' | 'XHUGE' — Resource tier for jobs created by this cron job.

## Response `200`

OK

- SpiderCronJobUpdate
  - `cjid` integer — A unique integer value identifying this cron job.
  - `status` 'ACTIVE' | 'DISABLED' — Cron job status.
  - `schedule` string — Cron job schedule definition.
  - `unique_collection` boolean — True if this cron job stores its items in a unique collection.
  - `data_status` 'PERSISTENT' | 'PENDING' — Data status.
  - `data_expiry_days` integer, nullable — Days before data is deleted.
  - `resource_tier` 'TINY' | 'XSMALL' | 'SMALL' | 'MEDIUM' | 'LARGE' | 'XLARGE' | 'HUGE' | 'XHUGE' — Resource tier for jobs created by this cron job.

---

[API](https://skmtc.net/bitmakerla/apis/estela-api-v1-0-documentation.md) · [All operations](https://skmtc.net/bitmakerla/apis/estela-api-v1-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitmakerla/estela-api-v1-0-documentation/versions/ec53774a2b78/schema)
