Clear caches and empty old spam on all your sites in one run
Run two housekeeping jobs across every connected WordPress site: clear their caches, then delete spam older than the days you choose, one approval each.
- Difficulty
- Intermediate
- Time
- about 15 min
On all my connected WordPress sites [or only: site addresses], first clear the caches. When that run is done, empty the spam comments older than [days, e.g. 14] days. Tell me where to approve each run, follow both to the end and report site by site what was done, what was skipped and why.
Already connected?
If SAR is already in your AI app, this is enough:
Clear caches, then empty spam older than [days] days on all my sites, and report per site.
What happens
- The AI app asks for a cache-clearing run on the sites you chose; it needs one approval in SAR.
- SAR runs it by itself, one site at a time, checks each site after the change and stops at the first problem.
- It then asks for a second run that empties spam older than the days you set; that needs one approval, and deleted spam cannot be undone.
- It follows both runs and reports, site by site, what was done, what was skipped and why.
Approvals involved
Worked out from the tools this recipe uses.
wordpress_start_fleet_updateUpdate sitesApproval and passwordwordpress_fleet_update_statusUpdate run statusNone
What you get
Every site freshly cached and free of old spam, without logging in to each one.
Related recipes
- Maintenance · about 10 minRun a weekly check-up of your WordPress siteOnce a week, ask for one short list: what is wrong on the site, which updates are waiting, which tasks are overdue and how fast the home page loads.
- Maintenance · about 15 minUpdate plugins one at a time, with a backup checked firstSee which plugin updates are waiting, check how old the last backup is, then update one plugin at a time with your password and a check after each.
- Maintenance · about 20 minFind what broke your site from the error logWhen a page shows an error or looks broken, let the AI read the PHP error log, find the plugin or theme behind it and suggest the smallest fix.
Try it on your own site
Install the plugin, add SAR to your AI app and paste the prompt. Free to start.