Is there a cron command I can use to automatically run the updater

Hi,

I’d like to be able to have little or no human intervention daily to ensure all the sites are kept up to date.

Is there a way to do this?

Hey @fxweb

Welcome to the MainWP community!

You can schedule a daily update frequency in the Settings:

This action will also perform a sync at that frequency before the automatic updates are performed.

You can learn more about Auto Updates in our KB: Plugins Auto Updates - MainWP Documentation

Make sure to check out the last part about the WP Cron.

Another option is to use server side cron, in which case WP Cron has to be disabled. More information in this KB: Disable WP Cron - MainWP Documentation

1 Like

Thanks for your help with this. I’ll use the server cron and see how that goes.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.