You are here

function video_s3_cron in Video 6.4

Same name and namespace in other branches
  1. 6.5 plugins/video_s3/video_s3.module \video_s3_cron()
1 call to video_s3_cron()
video_cron in ./video.module
Implmentation of hook_cron().

File

plugins/video_s3/video_s3.module, line 47
Provides wrapper functions for the s3 amazon webservices.

Code

function video_s3_cron() {
  if (!_video_s3_is_active_fs()) {
    return;
  }
  module_load_include('lib.inc', 'video_s3');
  $s3 = new video_amazon_s3();
  $s3
    ->connect();

  // Lets run our queue.
  $s3
    ->queue();
}