All Products
Search
Document Center

PolarDB:RunPolarClawCronJob

Last Updated:Jun 10, 2026

Menjalankan pekerjaan cron PolarClaw.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST  HTTP/1.1

Parameter permintaan

Parameter

Type

Required

Description

Example

ApplicationId

string

Yes

ID aplikasi.

pa-**************

JobId

string

Yes

ID pekerjaan cron yang akan dijalankan.

0ee00f56-f467-4d41-858c-ca4ede2c770e

Mode

string

No

Mode eksekusi. Nilai valid: force dan due. Nilai default: force.

force

Restart

boolean

No

Apakah akan memulai ulang gerbang setelah pekerjaan selesai. Nilai default: true.

true

Elemen respons

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

C61892A4-0850-4516-9E26-44D96C1782DE

Message

string

The response message.

successful

Code

integer

The status code.

200

ApplicationId

string

The application ID.

pa-**************

Ok

boolean

Indicates whether the operation was successful.

true

JobId

string

The unique ID for this job execution.

8006e51c-dab3-4602-bc69-4f728002c6ce

Ran

boolean

Indicates whether the job actually ran.

true

Contoh

Respons sukses

JSONformat

{
  "RequestId": "C61892A4-0850-4516-9E26-44D96C1782DE",
  "Message": "successful",
  "Code": 200,
  "ApplicationId": "pa-**************",
  "Ok": true,
  "JobId": "8006e51c-dab3-4602-bc69-4f728002c6ce",
  "Ran": true
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.