Hi! We’re using MainWP to update around manage and update 1600 sites.
We run the cron endpoint for updating sites (/wp-content/plugins/mainwp/cron/updatescheck.php) only during a few hours at night, but within those hours, every minute. So e.g. with cronschedule:
* 1,2,3,4 * * *
What is the order in which updates are processed / performed? For example:
the website that was checked least recently (based on a timestamp in the mainwp DB)
MainWP always starts with the sites whose last automatic update check began the longest time ago (including any that have never been checked).
Each minute during your cron window it pulls up to four of those “oldest” sites, kicks off their update checks, then records the current time so they fall to the back of the line. The next minute it again takes the sites now longest-waiting.
So the order is basically “oldest last-update-check first.”
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
WordPress® is a registered trademark of the WordPress Foundation, and WooCommerce® is a registered trademark of WooCommerce, Inc. MainWP is an independent product and is not affiliated, associated, or endorsed by the WordPress Foundation, WooCommerce, Inc., or Automattic Inc., except where noted under the Jetpack® API and Trademark License Agreement. All product names, logos, and brands are property of their respective owners and are used for identification purposes only.