create_scheduled_job
Create a scheduled cron job on a Laravel Forge server by providing the server ID, command, cron frequency, and user. Automate recurring tasks without manual intervention.
Instructions
Create a scheduled job (cron) on a server
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>",
"command": "<command>",
"frequency": "<frequency>",
"user": "<user>"
},
"name": "create_scheduled_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | User to run as (e.g., forge) | |
| command | Yes | Command to run | |
| serverId | Yes | The ID of the server | |
| frequency | Yes | Cron frequency (e.g., '* * * * *' or 'hourly') |