Skip to content

Commit

Permalink
update inc/wpsetup.inc add optional wp auto update for wp core
Browse files Browse the repository at this point in the history
3 additional lines commented out and disabled for auto updating wordpress core and database automatically via cronjob
  • Loading branch information
centminmod committed Sep 15, 2015
1 parent 5539013 commit 31a4b77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/wpsetup.inc
Expand Up @@ -779,6 +779,9 @@ chmod 0700 /usr/bin/wp
/usr/bin/wp --info --allow-root
/usr/bin/wp plugin status --allow-root
/usr/bin/wp plugin update --all --allow-root
#/usr/bin/wp core check-update --allow-root
#/usr/bin/wp core update --allow-root
#/usr/bin/wp core update-db --allow-root
} 2>&1 | mail -s "Wordpress WP-CLI Auto Update \$(date)" \$EMAIL
ENDA
Expand Down

0 comments on commit 31a4b77

Please sign in to comment.