You are here

function elysia_cron_drush_command in Elysia Cron 5

Same name and namespace in other branches
  1. 5.2 elysia_cron.drush.inc \elysia_cron_drush_command()
  2. 6.2 elysia_cron.drush.inc \elysia_cron_drush_command()
  3. 6 elysia_cron.drush.inc \elysia_cron_drush_command()
  4. 7.2 elysia_cron.drush.inc \elysia_cron_drush_command()
  5. 7 elysia_cron.drush.inc \elysia_cron_drush_command()

Implementation of hook_drush_command().

File

./elysia_cron.drush.inc, line 10

Code

function elysia_cron_drush_command() {
  $items = array();
  $items['elysia-cron'] = array(
    'description' => "Run all cron hooks in all active modules for specified site using elysia cron system. Use this instead of \"core-cron\" if elysia_cron module is installed",
    'callback' => 'drush_elysia_cron_run_wrapper',
    'arguments' => array(),
  );
  return $items;
}