Automating WordPress maintenance

WordPressis an amazing blogging platform. However it does require a fair amount of love. Despite Mythic Beastsmanaging a large portion of my stack (hardware, OS, Apache, PHP, MySQL) and WordPresshaving automatic background updatesI still find myself logging in and finding pending updates for WordPress. The solution was WP-CLI. With the shell add-on, I SSH onto my account, then What the above script does is download WP-CLI, grant it execute permission, then downloads my script and again, gives it execute permission.