cron_create
Create cron jobs in DirectAdmin with full schedule control. Specify minute, hour, day, month, weekday, and command, then confirm to schedule automated tasks for the desired user.
Instructions
Create a cron job.
Args: minute: Cron minute (0-59 or *). hour: Cron hour. day_of_month: Day of month. month: Month. day_of_week: Day of week. command: Command to run (no shell metachar redirection from untrusted input). impersonate: Owning user. confirm: Required.
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": {
"minute": "<minute>",
"hour": "<hour>",
"day_of_month": "<day_of_month>",
"month": "<month>",
"day_of_week": "<day_of_week>",
"command": "<command>"
},
"name": "cron_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hour | Yes | ||
| month | Yes | ||
| minute | Yes | ||
| command | Yes | ||
| confirm | No | ||
| day_of_week | Yes | ||
| impersonate | No | ||
| day_of_month | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |