function video_scheduler_main in Video 6
Same name and namespace in other branches
- 5 plugins/video_ffmpeg_helper/video_scheduler.php \video_scheduler_main()
- 6.2 plugins/video_ffmpeg_helper/video_scheduler.php \video_scheduler_main()
- 6.3 video_scheduler.php \video_scheduler_main()
Main for video_scheduler.php
1 call to video_scheduler_main()
- video_scheduler.php in plugins/
video_ffmpeg_helper/ 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
- plugins/
video_ffmpeg_helper/ video_scheduler.php, line 73 - 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() {
if ($jobs = video_scheduler_select()) {
foreach ($jobs as $job) {
video_scheduler_start($job);
}
}
else {
watchdog('video_scheduler', 'no video conversion jobs to schedule.');
}
}