ensure_done
Verifies scheduled backup runs since a given date, lists failed, stopped, missing or waiting tasks, and optionally re-runs only failed/stopped/missing tasks once with confirmation.
Instructions
Checks that every scheduled run since since (YYYY-MM-DD or YYYY-MM-DDTHH:MM, default 24 h) produced a successful job for every enabled task of its plan; lists failed, stopped, missing and still-waiting tasks. rerun:true with confirm:true re-runs exactly the failed/stopped/missing tasks once (run_tasks_once, same pool); never cancels anything. mail:true sends the report to operatorMail through the host MTA (independent of P5's own mail). Call it after the nightly window.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ensure_done"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| rerun | No | ||
| since | No | ||
| confirm | No | Must be true to actually run; without it only the plan/commands are returned |