Tripal 0.3b
tripal_core/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
= '$username'"))) globa 
$user ) = user_load(array('name' => $username))

Variable Documentation

$_SERVER['HTTP_HOST'] = $drupal_base_url['host']
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] = $_SERVER['PHP_SELF']

Definition at line 24 of file tripal_launch_jobs.php.

$_SERVER['REMOTE_ADDR'] = NULL

Definition at line 25 of file tripal_launch_jobs.php.

$_SERVER['REQUEST_METHOD'] = NULL

Definition at line 26 of file tripal_launch_jobs.php.

$do_parallel = $argv[2]

Definition at line 36 of file tripal_launch_jobs.php.

Referenced by tripal_jobs_launch().

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

Definition at line 21 of file tripal_launch_jobs.php.

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

Definition at line 13 of file tripal_launch_jobs.php.

Referenced by print_usage().

$username = $argv[1]

Definition at line 35 of file tripal_launch_jobs.php.

Referenced by runjob().

 All Classes Files Functions Variables