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 * @section Aliases 00016 * @subsection multi_exec_alias mex 00017 * @section Arguments 00018 * @subsection multi_exec_command command 00019 * The drush command to execute. 00020 * For drush commands with blanks like 'watchdog show' 00021 * make sure to use single or double quotes. Mandatory. 00022 * @section Options 00023 * @subsection multi_exec_argument --argument 00024 * Argument to pass to drush command e.g. 'site_offline 1' 00025 * as argument for 'variable-set'. Optional. 00026 * @subsection multi_exec_option --option 00027 * Option to pass to drush command. or drush itself e.g. 00028 * '--nocolor' to suppress color highlighting on log messages. Optional. 00029 * @section Examples 00030 * @code 00031 * drush -r /path/to/drupal multi-exec cron 00032 * @endcode 00033 * Run all cron hooks on all sites in your multisite installation. 00034 * @code 00035 * drush -r /path/to/drupal multi-exec variable-set --argument='site_offine 1' --option='--nocolor' 00036 * @endcode 00037 * Put all sites in maintenance mode without using color highlighting on log messages. 00038 * @code 00039 * drush -r /path/to/drupal multi-exec updatedb 00040 * @endcode 00041 * Execute the update.php process for all sites. 00042 * @code 00043 * drush -r /path/to/drupal multi-exec cache-clear 00044 * @endcode 00045 * Flushes the cache for all sites 00046 */
1.5.8