Closed (duplicate)
Project:
Drush
Version:
6.x-3.x-dev
Component:
Base system (internal API)
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2009 at 12:05 UTC
Updated:
8 Mar 2022 at 15:57 UTC
Jump to comment: Most recent
Comments
Comment #1
bramface commentedWonderful! We, too, run Drush on all our multisites along with our Cron jobs, non-verbosely. For more control (and because we end some sites with -com and some with -org), we call up the sites via .txt files. Attached is our method, though I don't know much Bash so it is VERY basic (therefore easy to understand to other less bashful people).
I suppose an added advantage would be to run with verbosity and save the results in a text file; instead, every now and then I run the file manually to see if there are errors.
Somebody talk me out of this....
Comment #2
hutch commentedIn shell scripts, you can check for exit codes, so
Write the script so that it only outputs when there is a problem. If the script is running on crontab the output can be emailed.
So no errors = no email
Comment #3
tario commentedI also would like this feature very much. I think in our case it would also be a noticeable speed improvement if the loop over the projects would be done from php instead of calling the script from the outside (we have over 3000 sites).
Comment #4
SeanBannister commentedSubscribe. This would be so handy for upgrading our multisite installs.
Comment #5
SeanBannister commentedJust found a new drush module thats trying to work with multisite installs http://drupal.org/project/drush_multi
Surely this could just be a command line option?
Comment #6
greg.1.anderson commentedI'm planning on supporting multiple-site commands as an extension to drush site aliases. See #628996: Concurrently execute a single drush command on multiple sites. I didn't notice this incident when I created that one; one or the other of these could be closed as a duplicate.
Comment #7
naught101 commentedGreg, I reckon your issue covers this one and more. Marking as a duplicate. #628996: Concurrently execute a single drush command on multiple sites
Comment #8
jigariusFor people who might stumble upon this issue in times of Drupal 8+, Drall that allows you to run Drush on all/multiple sites in a multi-site Drupal installation.