Skip to main content
Cron Jobs

Unpause a cron job for a server

Asynchronous Request

Unpausing re-adds the cron entry to the live server crontab based on the schedule and command stored in Webdock metadata. Only one cron job mutation can run at a time per server; if another cron create/pause/unpause/delete operation is in progress, this request returns HTTP 400 until that operation completes.

POST
/servers/{serverSlug}/cronjobs/{cronjobId}/unpause
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server where the cron job exists

cronjobIdintegerrequired

Cron job ID from Webdock metadata storage

Unpause cron job request accepted

X-Callback-IDstringheader

CallbackID