Stud.IP
4.2 Revision
|
Variables | |
$argc = $_SERVER['argc'] | |
$argv = $_SERVER['argv'] | |
$opts = getopt('hl', array('help', 'list')) | |
if(isset($opts['l'])||isset($opts['list'])) if($argc< 2||isset($opts['h'])||isset($opts['help'])) | $id = $_SERVER['argv'][1] |
$last_result = $argc > 2 ? $_SERVER['argv'][2] : null | |
$task = CronjobTask::find($id) | |
if(! $task) | if (!file_exists( $GLOBALS[ 'STUDIP_BASE_PATH'] . '/' . $task->filename)) |
$argc = $_SERVER['argc'] |
$argv = $_SERVER['argv'] |
if (isset( $opts[ 'l'])||isset( $opts[ 'list'])) if ( $argc< 2||isset( $opts[ 'h'])||isset( $opts[ 'help'])) $id = $_SERVER['argv'][1] |
$last_result = $argc > 2 ? $_SERVER['argv'][2] : null |
$opts = getopt('hl', array('help', 'list')) |
$task = CronjobTask::find($id) |
if (! $task) if(!file_exists($GLOBALS['STUDIP_BASE_PATH'] . '/' . $task->filename)) |