Perform a drush core command on all sites (batch mode).
- Deprecated:
- Similar functionality is in drush core 3.x, see http://drupal.org/node/652778 for details.
Please use drush -r /path/to/drupal @sites ${command} instead!
This command will be removed soon.
The drush command to execute. For drush commands with blanks like 'watchdog show' make sure to use single or double quotes. Mandatory.
Argument to pass to drush command e.g. 'site_offline 1' as argument for 'variable-set'. Optional.
Option to pass to drush command. or drush itself e.g. '--nocolor' to suppress color highlighting on log messages. Optional.
drush -r /path/to/drupal multi-exec cron
Run all cron hooks on all sites in your multisite installation.
drush -r /path/to/drupal multi-exec variable-set --argument='site_offine 1' --option='--nocolor'
Put all sites in maintenance mode without using color highlighting on log messages.
drush -r /path/to/drupal multi-exec updatedb
Execute the update.php process for all sites.
drush -r /path/to/drupal multi-exec cache-clear
Flushes the cache for all sites