This API v3 documentation is currently still on progress. For any issue, please contact support@runcloud.io
Authorization: Bearer ********************
curl --location -g --request GET 'https://manage.runcloud.io/api/v3/servers/{{serverId}}/cronjobs'
{
"data": [
{
"id": 35,
"label": "my first job",
"username": "root",
"time": "* */2 * * *",
"command": "/bin/bash /root/clearitem.sh",
"enabled": 1,
"created_at": "2024-07-18 06:27:19"
},
{
"id": 36,
"label": "my second job",
"username": "root",
"time": "* */4 * * *",
"command": "/bin/bash /root/clearitem.sh",
"enabled": 1,
"created_at": "2024-07-18 06:29:05"
}
],
"meta": {
"pagination": {
"total": 2,
"count": 2,
"per_page": 15,
"current_page": 1,
"total_pages": 1,
"links": {}
}
}
}