00001 <?php 00002 // $Id: 00003 00004 /** 00005 * @file 00006 * Page multi-exec 00007 * 00008 * Additional Doxygen documentation 00009 */ 00010 00011 00012 /** 00013 * @page multi_exec_help multi-exec 00014 * Perform a drush core command on all sites (batch mode). 00015 * @deprecated @deprecated Similar functionality is in drush core 3.x, see http://drupal.org/node/652778 for details. 00016 * @deprecated Please use <code>drush -r /path/to/drupal \@sites ${command}</code> instead! 00017 * @deprecated <strong>This command will be removed soon.</strong> 00018 * @section Aliases 00019 * @subsection multi_exec_alias mex 00020 * @section Arguments 00021 * @subsection multi_exec_command command 00022 * The drush command to execute. 00023 * For drush commands with blanks like 'watchdog show' 00024 * make sure to use single or double quotes. Mandatory. 00025 * @section Options 00026 * @subsection multi_exec_argument --argument 00027 * Argument to pass to drush command e.g. 'site_offline 1' 00028 * as argument for 'variable-set'. Optional. 00029 * @subsection multi_exec_option --option 00030 * Option to pass to drush command. or drush itself e.g. 00031 * '--nocolor' to suppress color highlighting on log messages. Optional. 00032 * @section Examples 00033 * @code 00034 * drush -r /path/to/drupal multi-exec cron 00035 * @endcode 00036 * Run all cron hooks on all sites in your multisite installation. 00037 * @code 00038 * drush -r /path/to/drupal multi-exec variable-set --argument='site_offine 1' --option='--nocolor' 00039 * @endcode 00040 * Put all sites in maintenance mode without using color highlighting on log messages. 00041 * @code 00042 * drush -r /path/to/drupal multi-exec updatedb 00043 * @endcode 00044 * Execute the update.php process for all sites. 00045 * @code 00046 * drush -r /path/to/drupal multi-exec cache-clear 00047 * @endcode 00048 * Flushes the cache for all sites 00049 */
1.5.8