create_cron_job
Schedule automated commands on a RunCloud server or web application by creating a new cron job with a specified command, user, and cron expression.
Instructions
Create a new cron job
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serverId": "<serverId>",
"webappId": "<webappId>",
"label": "<label>",
"command": "<command>",
"user": "<user>",
"cronExpression": "<cronExpression>"
},
"name": "create_cron_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | User to run as | |
| label | Yes | Cron job label | |
| command | Yes | Command to execute | |
| serverId | Yes | The ID of the server | |
| webappId | Yes | The ID of the web application | |
| cronExpression | Yes | Cron expression (e.g., "0 0 * * *") |