ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
cron.php
Go to the documentation of this file.
1 <?php
2 chdir(dirname(__FILE__));
3 chdir('..');
4 
5 
6 include_once 'Services/Authentication/classes/class.ilAuthFactory.php';
8 
9 $_COOKIE["ilClientId"] = $_SERVER['argv'][3];
10 $_POST['username'] = $_SERVER['argv'][1];
11 $_POST['password'] = $_SERVER['argv'][2];
12 
13 if($_SERVER['argc'] < 4)
14 {
15  die("Usage: cron.php username password client\n");
16 }
17 
18 include_once './include/inc.header.php';
19 
20 // Start checks here
21 include_once './cron/classes/class.ilCronCheck.php';
23 $cron_check->start();
24 ?>