You are here

function background_process_drush_command in Background Process 7.2

Implementation of hook_drush_command().

File

./background_process.drush.inc, line 22
Drush sql commands

Code

function background_process_drush_command() {
  $items['background-process-execute'] = array(
    'description' => "Execute an initialized background process.",
    'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
    'aliases' => array(
      'bgp-execute',
    ),
    'arguments' => array(
      'pid' => 'The process id of the background process to execute',
    ),
    'examples' => array(
      'drush bgp-execute 12' => "Runs the process with process id 12",
    ),
  );
  return $items;
}