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

490 B
Raw Blame History

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.