You are here

function drush_video_scheduler in Video 6.5

Same name and namespace in other branches
  1. 6.4 video.drush.inc \drush_video_scheduler()
  2. 7.2 video.drush.inc \drush_video_scheduler()
  3. 7 video.drush.inc \drush_video_scheduler()
1 string reference to 'drush_video_scheduler'
video_drush_command in ./video.drush.inc
Implementation of hook_drush_command().

File

./video.drush.inc, line 25
Drush commands for the Video module

Code

function drush_video_scheduler() {
  $limit = (int) drush_get_option('limit', variable_get('video_queue_batchsize', 5));

  // Initialize the theme so it does not initialize during the script,
  // when the working directory may have been changed.
  init_theme();
  video_run_queue($limit);
}