add_cron_entry
Add a new cron job to the current user's crontab by specifying a schedule expression and command.
Instructions
Add a new entry to the current user's crontab.
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": {
"schedule": "<schedule>",
"command": "<command>"
},
"name": "add_cron_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to run | |
| schedule | Yes | Cron schedule expression, e.g. '0 9 * * *' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |