ILIAS
Release_4_1_x_branch Revision 61804
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
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'
;
7
ilAuthFactory::setContext
(
ilAuthFactory::CONTEXT_CRON
);
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'
;
22
$cron_check
=&
new
ilCronCheck
();
23
$cron_check
->start();
24
?>
cron
cron.php
Generated on Thu Apr 21 2016 19:02:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)