create_job
Schedule automated SQL queries to run at specified intervals in MindsDB, enabling regular data processing and workflow automation.
Instructions
Create a scheduled job to run a query at regular intervals.
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": {
"name": "<name>",
"query": "<query>",
"every": "<every>"
},
"name": "create_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Job name | |
| query | Yes | SQL query to execute | |
| every | Yes | Interval (e.g., '1 hour', '1 day', '15 minute') | |
| start | No | Start datetime (ISO format) | |
| end | No | End datetime (ISO format) |