Directory of RSS feeds
Statistics

RSS feeds in the directory: 2818

Added today: 0

Added yesterday: 0

Hi-Tech / Internet

Automate the update of Wordpress

RMCreative.ru Blog 04.07.2019 at 22:09

News and ideas of the web-design

Holes in Wordpress find often, and update it lazily. Fortunately, automating updates is easy enough.

Set WP-CLI to run as wp.

Create a small shell script update_wordpress.sh:

cd /var/www/put_do_wordpress/www/ sudo -u www-data wp core update sudo -u www-data wp theme update --all sudo -u www-data wp plugin update --all

Run once a week. crontab-e:

0 0 * * 0 /polniy_put/update_wordpress.sh > /polneyut/update_wordpress.log 2>&1

UPD: this eliminates the need to update via wp-cron, so it can be disabled via wp-config.php:

define('AUTOMATIC_UPDATER_DISABLED', true);

Other feed items

Theory of programming: batch principles and metrics 03.07.2019 at 08:44

Back with DevConf and Highload++ Siberia 27.06.2019 at 08:36

I'll be at DevConf, Highload Siberia, Tabtabus 17.06.2019 at 06:46

PHP Serbia, report 17.06.2019 at 06:22

PHP Russia, report 30.05.2019 at 13:34

About strike it.is and Saint Highload++ 14.05.2019 at 10:37

Week backendsecret, part 5 11.04.2019 at 08:36

Week backendsecret, part 4 10.04.2019 at 11:04

Week backendsecret, part 3 10.04.2019 at 10:19

Week backendsecret, part 2 04.04.2019 at 21:42