66 lines
827 B
PHP
66 lines
827 B
PHP
<?php
|
|
ignore_user_abort(true);
|
|
set_time_limit(0);
|
|
error_reporting(E_ALL);
|
|
//ob_implicit_flush(TRUE);
|
|
//ob_end_flush();
|
|
|
|
/* $Id: video_conversion_cronjob.php 13 2009-01-11 06:04:29Z john $ */
|
|
|
|
|
|
|
|
$page = 'video_conversion_cronjob';
|
|
|
|
include "header-cron.php";
|
|
|
|
|
|
|
|
|
|
|
|
// Use this file to trigger the job queue handler via cronjob.
|
|
|
|
// Set a password to prevent calls, then use the following example URL to set your cronjob path:
|
|
|
|
// EX: video_conversion_cronjob.php?password=l53SDj6SGF2nb4
|
|
|
|
$password = 'leptestpassword123';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( $_GET['password']==$password )
|
|
|
|
{
|
|
|
|
echo "running";
|
|
//manage_bate_videos();
|
|
groupvideo_reencode();
|
|
//video_manage_jobs3();
|
|
|
|
//groupvideo_manage_jobs();
|
|
|
|
//video_manage_jobs1();
|
|
|
|
|
|
|
|
}
|
|
elseif( $_GET['password']=="123456" )
|
|
{
|
|
|
|
//manage_bate_videos();
|
|
}
|
|
|
|
else{echo "wrong";}
|
|
|
|
|
|
|
|
|
|
|
|
exit();
|
|
|
|
|
|
|
|
?>
|