• Resolved jonwatson87

    (@jonwatson87)


    Is it possible to schedule updates to occur daily at a specific time?

    Some of my sites have a LOT of plugins installed, and whenever you log in there’s a new one to update.

    Having those install automatically throughout the day would cause a lot of unnecessary downtime, and endlessly frustrate site visitors, whose visits would be hit and miss between “maintenance” and site access.

    If we could set a specific time for updates to install, perhaps in the wee hours of the morning when few people are going to be on, that’d be amazing.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Ronald Huereca

    (@ronalfy)

    You can use WP Crontrol to modify the cron events. It’s our recommended solution.

    You’ll want to modify wp_version_check, wp_update_themes, and wp_update_plugins to only update one day at a specific time.

    Thread Starter jonwatson87

    (@jonwatson87)

    Perfect! Thank you! ??

    Hi Guys, can I ask if this will still work with WP Crontrol if we have disabled WP Cron with “define(‘DISABLE_WP_CRON’, true);” and are running an external custom Cron Job from CPanel? If anybody knows the answer to this I’d be very grateful.

    Plugin Contributor Ronald Huereca

    (@ronalfy)

    I am not aware of anyone trying this, but in theory it should work as you described.

    Thread Starter jonwatson87

    (@jonwatson87)

    So, turns out I have the same problem as SouthernCoaster now.

    Because I want things to run at a scheduled time I can’t rely on WP Cron, which requires users browsing the site in order to activate.

    I’ve set up an external cron using EasyCron to run wp-cron.php every minute, and have changed the time of my checks using WP Crontrol as recommended above.

    But it doesn’t actually seem to be working with Easy Updates Manager.

    I received a notification last night that another of my sites had an update ready and waiting for Beaver Builder.

    According to my settings the cron should’ve checked for updates at 7am this morning, and Easy Updates Manager should’ve updated it just after.

    But it didn’t update.

    The external cron ran fine, but no updates were actually performed.

    Any ideas why this might not be working…?

    Plugin Contributor Ronald Huereca

    (@ronalfy)

    This may be a limitation of Easy Updates Manager when it comes to third-party plugins not hosted on the www.ads-software.com repo. Some plugins will update, while some don’t. Examples of plugins that do are Gravity Forms, Events Calendar Pro, ACF Pro.

    However, some plugins do their own thing when it comes to automatic updates, and unfortunately we can’t catch them all.

    Do you think this might be the case?

    Thread Starter jonwatson87

    (@jonwatson87)

    Ah, I see! Yeah, that’s possible.

    A bit disappointing, but understandable.

    I’ll keep an eye on it, and if any on the repo aren’t updating I’ll give you a shout.

    Thanks for the swift reply, as always, Ronald!

    Just to update everybody, I have Easy Updates Manager running with the “WP Crontrol” plugin and “define(‘DISABLE_WP_CRON’, true);”. I have scheduled everything to run out of hours and so far I am having no issues. All plugins, repository and otherwise, are successfully updating according to the settings I have made. A tiny minority of plugin developers have a slightly unorthodox approach to version numbering but I have contacted them and made them aware this can cause problems for automated plugin update mechanisms. It’s saving me hours of lost time across many websites. Big thanks to Ronald Huereca for a really great plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Feature request: Scheduled Time for Updates’ is closed to new replies.