You are here

function video_ffmpeg_helper_cron in Video 5

Same name and namespace in other branches
  1. 6 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \video_ffmpeg_helper_cron()
  2. 6.2 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \video_ffmpeg_helper_cron()

File

plugins/video_ffmpeg_helper/video_ffmpeg_helper.module, line 21
Provide some api for use ffmpeg. Simplify video nodes creation.

Code

function video_ffmpeg_helper_cron() {
  global $base_url;
  if (variable_get('video_ffmpeg_helper_auto_cvr_cron', true)) {
    exec("php video_scheduler.php {$base_url} > /dev/null &");
  }
}