It might not be the exact solution you are looking for, but I have done similar things with the iMacro add on for Firefox.
https://addons.mozilla.org/en-US/firefox/addon/3863
That way you can create a macro to actually put the site in offline mode, then run update.php and then return it to online mode. I haven't actually used it for update.php, but have used it for a lot of other repetitive things I have to do in Drupal.
(fyi - it looks like a feature request is in for update.php handling in Drush, but it isn't yet committed)
Jamie Holly
Nabil Alsharif wrote:
Hi every one,
I'm going to be maintaining a bunch of drupal sites. I'm trying to automate as much of maintenance as possible and one of the things I would like to do is update the database via a script, basically run update.php with the latest upgrades selected. The problem is that I can't just wget update.php and I didn't see any thing helpful in the scripts directory. Even worse is that google came up with Nil.
Any one have any ideas on how I could do that?
Thanks.