You are here

function video_scheduler_main in Video 6.3

Same name and namespace in other branches
  1. 5 plugins/video_ffmpeg_helper/video_scheduler.php \video_scheduler_main()
  2. 6 plugins/video_ffmpeg_helper/video_scheduler.php \video_scheduler_main()
  3. 6.2 plugins/video_ffmpeg_helper/video_scheduler.php \video_scheduler_main()

Main for video_scheduler.php

1 call to video_scheduler_main()
video_scheduler.php in ./video_scheduler.php
Implement video rendering scheduling. If you are not using sites/default/settings.php as your settings file, add an optional parameter for the drupal site url: "php video_scheduler.php http://example.com/" or "php video_scheduler.php…

File

./video_scheduler.php, line 70
Implement video rendering scheduling. If you are not using sites/default/settings.php as your settings file, add an optional parameter for the drupal site url: "php video_scheduler.php http://example.com/" or "php video_scheduler.php…

Code

function video_scheduler_main() {

  //  echo 'ok';
  if ($jobs = video_scheduler_select()) {
    foreach ($jobs as $job) {
      video_scheduler_start($job);
    }
  }
  else {
    watchdog('video_scheduler', 'no video conversion jobs to schedule.', array(), WATCHDOG_DEBUG);
  }
}