Tripal v1.0 (6.x-1.0)
tripal_launch_jobs.php File Reference

Go to the source code of this file.

Functions

 print_usage ($stdout)

Variables

 $stdout = fopen('php://stdout', 'w')
if(sizeof($argv)< 2) $drupal_base_url = parse_url('http://www.example.com')
 $_SERVER ['HTTP_HOST'] = $drupal_base_url['host']
 $_SERVER ['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] = $_SERVER['PHP_SELF']
 $_SERVER ['REMOTE_ADDR'] = NULL
 $_SERVER ['REQUEST_METHOD'] = NULL
 $username = $argv[1]
 $do_parallel = $argv[2]
if(!db_fetch_object(db_query("SELECT
* FROM {users} WHERE name
= '%s'", $username))) globa 
$user ) = user_load(array('name' => $username))

Detailed Description

This script will launch any waiting tripal jobs in succession.

This script must be run at the base directory level of the drupal installation in order to pick up all necessary dependencies

Definition in file tripal_launch_jobs.php.


Variable Documentation

$_SERVER['HTTP_HOST'] = $drupal_base_url['host']

Definition at line 20 of file tripal_launch_jobs.php.

$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] = $_SERVER['PHP_SELF']

Definition at line 22 of file tripal_launch_jobs.php.

$_SERVER['REMOTE_ADDR'] = NULL

Definition at line 23 of file tripal_launch_jobs.php.

$_SERVER['REQUEST_METHOD'] = NULL

Definition at line 24 of file tripal_launch_jobs.php.

$do_parallel = $argv[2]

Definition at line 31 of file tripal_launch_jobs.php.

if (sizeof($argv)< 2) $drupal_base_url = parse_url('http://www.example.com')

Definition at line 19 of file tripal_launch_jobs.php.

$stdout = fopen('php://stdout', 'w')

Definition at line 11 of file tripal_launch_jobs.php.

$user = user_load(array('name' => $username))

Definition at line 32 of file tripal_launch_jobs.php.

$username = $argv[1]

Definition at line 30 of file tripal_launch_jobs.php.

 All Classes Files Functions Variables