create_cron_job
Create a scheduled cron job on pfSense to run a specified command as a chosen user at defined times, with optional immediate application.
Instructions
Create a 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": {
"minute": "<minute>",
"hour": "<hour>",
"mday": "<mday>",
"month": "<month>",
"wday": "<wday>",
"who": "<who>",
"command": "<command>"
},
"name": "create_cron_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | Yes | User to run the command as (e.g., 'root') | |
| hour | Yes | Hour field (0-23, or * for every hour) | |
| mday | Yes | Day of month field (1-31, or * for every day) | |
| wday | Yes | Day of week field (0-7, 0 and 7 are Sunday, or * for every day) | |
| month | Yes | Month field (1-12, or * for every month) | |
| minute | Yes | Minute field (0-59, or * for every minute) | |
| command | Yes | Command to execute | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||