Is there a way with Drush or something else to check if a specified Drupal site is still up and running, means fully normal functioning, after automated maintenance/updating in an external script?
Sometimes an update can fail in a script and then there is a none-functional site left. I want to detect that situation. So have a command and the output is the status of the site? E.g.
drush <command> <site>
yields down/up or something.
The drush status
command doesnt seemed to have such functionality.
Edit
When I was searching for the tools suggested in the comments I see that i was unspecific in the beginning, sorry for that. I mean the script is updating Drupal core and modules via Composer and Drush e.g.
~/bin/composer.phar update drupal/core "drupal/core-*" --with-all-dependencies
drush updatedb -l $WEBSITENAME
drush cache:rebuild
So I don't speak about updating whole servers and systems, just automated updating Drush, core and modules.