I don't want to update plugins within business hours. Is there a way to schedule for after 1 am? Maybe via a hook or a setting in wp-config.php?

有帮助吗?

解决方案

You could create a cronjob that runs on 1am every 24 hours. With WP CLI this would be something like:

wp core update && wp plugin update --all && wp theme update

So you just create a .sh script, put the above in it, and run the script with a cronjob.

许可以下: CC-BY-SA归因
scroll top