curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
% wget https://gist.githubusercontent.com/matsubo/159ba160581ff53fce09/raw/38cb19873444c30984661beaf5ac67c05731227f/wordpress_update.sh
% chmod 755 wordpress_update.sh
% crontab -e
15 21 * * * /path/to/wordpress_update.sh