Sheduled Updates with WP Rocket clean afterwards

I wonder if I can achieve the following with appropriate addons, which I currently do via WP cli on my server triggered by cronjobs. Via MainWP it would be much clearer:

I would like to start all updates (core, plugins, translations) for selected pages (ideally selected via tags) at certain times, e.g. every Monday and Friday at 04:00. Then WP Rocket should empty the cache and regenerate css (some minutes later, or, when updates are finished).

I have currently not found a way to do this via Main WP. I would really like to be able to run my entire update routine with Main WP.

Has anyone found a solution for this yet? I imagine I’m not the first one with this idea :slight_smile:

Best regards
Christopher

1 Like

Hey @Christopher

This can be achieved partially right now with MainWP.

You can set automatic updates globally in MainWP Settings, but you can’t set them specifically by tags.

If you’d like certain sites excluded from these global automatic updates, you’d have to manually ignore updates for each of those individual sites.

Also, MainWP currently lets you schedule automatic updates only once a week or every day, not specifically twice per week (e.g., Monday and Friday).

After automatic updates run, the MainWP Rocket add-on will clear the cache automatically, but it won’t automatically regenerate the CSS, so you’d still need to trigger that step separately.

If you have any specific suggestions about what you would like to see implemented, please feel free to leave them on our feedback site.
That way, others can vote for it, letting us know which features our users want the most: https://voice.mainwp.com