mcp-cron mcp
v1.0.0 · MCP Tool · system · registry.pascalai.org
Manage cron-like scheduled tasks: create, list, update, delete jobs and view execution history.
cronschedulertasksautomationjobs
Input Parameters
| Parameter | Type | Description |
| operationrequired |
string |
One of: list, create, update, delete, enable, disable, run, history, next_runs. |
| job_idoptional |
string |
|
| nameoptional |
string |
|
| scheduleoptional |
string |
Cron expression, e.g. '0 9 * * MON-FRI' or '@daily'. |
| commandoptional |
string |
Command or script to execute. |
| working_diroptional |
string |
|
| envoptional |
object |
|
| enabledoptional |
boolean |
Default: True. |
| max_historyoptional |
integer |
Default: 20. |
| countoptional |
integer |
Number of next runs to calculate. Default: 5. |
Output Fields
| Field | Type | Description |
| operation |
string |
|
| jobs |
array[object] |
|
| job |
object |
|
| job_id |
string |
|
| history |
array[object] |
|
| next_runs |
array[string] |
|
Examples
Create daily backup job
// Input
{
"operation": "create",
"name": "daily_backup",
"schedule": "0 2 * * *",
"command": "/scripts/backup.sh",
"working_dir": "/",
"enabled": true
}
// Output
{
"operation": "create",
"job_id": "job_001",
"job": {
"name": "daily_backup",
"schedule": "0 2 * * *"
}
}
Install & Discovery
Install
ppm install mcp-cron
Get JSON Schema
GET /v1/packages/mcp-cron/1.0.0/schema
Discover by keyword
GET /v1/mcp/discover?q=cron
Discovery hint: Install with ppm install mcp-cron or invoke remotely via POST /v1/invoke/mcp-cron on the MCP Service.
PascalAI Usage
uses toolslib;
var Tool := LoadTool('mcp-cron');
var R := Tool.Call(JsonObj([]));
Writeln(R.ToJSON);