Update a monitor
update_checkTurn a monitor on or off, or change when it runs: its schedule (up to weekly on Free, daily on Pro, hourly on Business, every 15 minutes on Agency), re-runs when the WordPress site changes (plugin, theme, core or WooCommerce updates; Pro and up) and random extra runs (Business and up). Only the fields you pass change. Its own settings (pages, URLs, checkout details) are changed with update_check_settings or update_visual_monitor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Daily/weekly run time, HH:MM (24h) | |
| tz | No | IANA timezone for `at`, e.g. Europe/Berlin | |
| dow | No | Weekly only: weekday, 0 = Sunday … 6 = Saturday | |
| events | No | WordPress sites only: re-run when these change. [] = none. A monitor's built-in triggers (e.g. the admin roster's role changes) are kept. | |
| random | No | Random extra runs (times per days), with an off or weekly schedule; null turns them off | |
| checkId | Yes | The monitor's id (from site_overview or add_checks) | |
| enabled | No | Turn the monitor on or off | |
| schedule | No | Recurring schedule |