Weekly automatic updates, with rollback and alerts
Make a backup and update my entire WordPress website. Then create a script that does this automatically every Monday at 06:00: first a backup, then all updates, then check that the homepage, my latest post and the login page still work. If anything fails, roll back the updates and email me at you@yoursite.com with what happened. Put the script outside the website and do a dry run first.
- ›makes a backup and updates everything now
- ›places a maintenance script in ~/maintenance, not inside your website
- ›schedules it as a cron job for Monday 06:00
- ›does a dry run and shows you the log
note · Running a web shop, bookings or forms? Add: "never restore the database if something fails". Otherwise a restore can wipe orders placed after the backup.
The script behind this prompt →