You are here

function workbench_scheduler_drush_run in Workbench Scheduler 7

Same name and namespace in other branches
  1. 7.2 workbench_scheduler.drush.inc \workbench_scheduler_drush_run()

Callback function.

1 string reference to 'workbench_scheduler_drush_run'
workbench_scheduler_drush_command in ./workbench_scheduler.drush.inc
Implements hook_drush_command().

File

./workbench_scheduler.drush.inc, line 23
Drush utility commands for workbench_scheduler.

Code

function workbench_scheduler_drush_run() {

  // Call the run function, to process schedules.
  $count = _workbench_scheduler_run();
  drupal_set_message(t('@count Workbench Schedules were processed.', array(
    '@count' => $count,
  )));
}