Test Whether Cron Runs
Checks whether WordPress's scheduler can actually run on this site, by looking at whether it is switched off in configuration and whether the site can reach itself. Read-only. This is the check to run when scheduled posts never publish or scheduled tasks pile up overdue, because on many hosts the scheduler simply never fires.
Also known as: cron health, is cron working, wp-cron not running, cron jobs, scheduler check.
| Property | Value |
|---|---|
| Ability slug | mosmcp/cron-test |
| Wire tool name | mosmcp__cron-test |
| Category | Maintenance (mosmcp-maintenance) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | manage_options |
| Minimum default role | Administrator |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: true |
Input schema
Takes no input. Send "input": {} (or omit input).
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| can_run | boolean | Yes | Whether the scheduler appears able to run at all. |
| disabled_by_config | boolean | Yes | True when DISABLE_WP_CRON switches the built-in scheduler off, which usually means a real server cron runs it instead. |
| alternate_cron | boolean | ||
| loopback_ok | boolean | Whether the site could reach its own scheduler over HTTP. | |
| loopback_detail | string | ||
| overdue_count | integer | Yes | Events already past their time, which is the symptom of a scheduler that is not firing. |
| notes | string[] |
Example
Sample prompt
Is WordPress's scheduler actually working on my site?
Example request (json)
{
"jsonrpc": "2.0",
"id": 248,
"method": "tools/call",
"params": {
"name": "mosmcp__cron-test",
"arguments": {
"input": {}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 248,
"result": {
"isError": false,
"structuredContent": {
"can_run": false,
"disabled_by_config": false,
"alternate_cron": false,
"loopback_ok": false,
"loopback_detail": "HTTP 403",
"overdue_count": 4,
"notes": [
"The site could not reach its own scheduler over HTTP. That commonly means a firewall, password protection, or a hosts-file entry is blocking the site from calling itself, and it stops scheduled tasks running."
]
}
}
}
Edge cases / errors
- DISABLE_WP_CRON on → disabled_by_config: true, noting that's fine only if a real server cron is set up.
- Loopback request to wp-cron.php fails or returns an error status → loopback_ok: false with the reason in loopback_detail.
- Reachable but events overdue → a note that low-traffic sites can just look stalled; it does make a real request to wp-cron.php, which may run due events.
| << Previous | Next >> |
|---|---|
| Run Scheduled Event Now | Unschedule Event |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.