• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

cron/cron.php

Go to the documentation of this file.
00001 <?php
00002 chdir(dirname(__FILE__));
00003 chdir('..');
00004 
00005 
00006 include_once "./cron/classes/class.ilCronAuthentication.php";
00007 
00008 $cron_auth =& new ilCronAuthentication();
00009 
00010 if($_SERVER['argc'] != 4)
00011 {
00012         die("Usage: cron_auth.php username password client\n");
00013 }
00014 $cron_auth->setUsername($_SERVER['argv'][1]);
00015 $cron_auth->setPassword($_SERVER['argv'][2]);
00016 $cron_auth->setClient($_SERVER['argv'][3]);
00017 
00018 if(!$cron_auth->authenticate())
00019 {
00020         die($cron_auth->getMessage()."\n");
00021 }
00022 
00023 include_once './include/inc.header.php';
00024 
00025 // Start checks here
00026 include_once './cron/classes/class.ilCronCheck.php';
00027 
00028 $cron_check =& new ilCronCheck();
00029 $cron_check->start();
00030 
00031 $cron_auth->logout();
00032 ?>

Generated on Fri Dec 13 2013 09:06:36 for ILIAS Release_3_4_x_branch .rev 46804 by  doxygen 1.7.1