Files
hub-insurance/.agents/skills/wp-wpcli-and-ops/references/cron-and-cache.md
T
2026-07-02 15:54:39 -06:00

24 lines
490 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Cron, caches, and rewrites
Use this file when debugging background jobs or “changes not visible”.
## Cron
- List scheduled events:
- `wp cron event list`
- Run a specific event now:
- `wp cron event run <hook>`
## Cache + rewrite
- Flush object cache:
- `wp cache flush`
- Flush rewrite rules:
- `wp rewrite flush`
## Guardrails
- Dont “run all cron events” on production without understanding impact.
- Cache flush can cause load spikes; coordinate if needed.