From b6e86040dd3faa3a70ec16e77220d852bdb09a04 Mon Sep 17 00:00:00 2001 From: Heshan Wanigasooriya Date: Sun, 5 Dec 2010 12:56:20 +0000 Subject: Adding latest files. --- video_scheduler.php | 137 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 video_scheduler.php (limited to 'video_scheduler.php') diff --git a/video_scheduler.php b/video_scheduler.php new file mode 100644 index 0000000..4872b0b --- /dev/null +++ b/video_scheduler.php @@ -0,0 +1,137 @@ +#!/usr/bin/env php + + * + */ + +/** + * Drupal shell execution script + */ + +$script = basename(array_shift($_SERVER['argv'])); +$script_name = realpath($script); +$php_exec = realpath($_SERVER['PHP_SELF']); + +$shortopts = 'hr:s:v'; +$longopts = array('help', 'root:', 'site:', 'verbose'); + +$args = @getopt($shortopts, $longopts); + +if (isset($args['h']) || isset($args['help'])) { + echo <<run_queue(); -- cgit v1.2.3