ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilCronCheck Class Reference
+ Collaboration diagram for ilCronCheck:

Public Member Functions

 ilCronCheck ()
 start ()

Detailed Description

Definition at line 34 of file class.ilCronCheck.php.

Member Function Documentation

ilCronCheck::ilCronCheck ( )

Definition at line 36 of file class.ilCronCheck.php.

References $ilLog.

{
global $ilLog;
$this->log =& $ilLog;
}
ilCronCheck::start ( )

Definition at line 43 of file class.ilCronCheck.php.

References ilDiskQuotaActivationChecker\_isActive(), and ilDiskQuotaActivationChecker\_isReminderMailActive().

{
global $ilias;
include_once('Services/LDAP/classes/class.ilLDAPCronSynchronization.php');
$ldap_sync = new ilLDAPCronSynchronization();
$ldap_sync->start();
// Check user accounts if enabled in settings
if($ilias->getSetting('cron_user_check'))
{
include_once './cron/classes/class.ilCronCheckUserAccounts.php';
$check_ua =& new ilCronCheckUserAccounts();
$check_ua->check();
}
// Start lucene indexer
if($ilias->getSetting("cron_lucene_index"))
{
include_once './Services/Search/classes/Lucene/class.ilLuceneIndexer.php';
$lucene_ind =& new ilLuceneIndexer();
$lucene_ind->index();
}
// Start Link check
if($ilias->getSetting('cron_link_check'))
{
include_once './cron/classes/class.ilCronLinkCheck.php';
$check_lnk =& new ilCronLinkCheck();
$check_lnk->check();
}
// Start web resource check
if($ilias->getSetting('cron_web_resource_check'))
{
include_once './cron/classes/class.ilCronWebResourceCheck.php';
$check_lnk =& new ilCronWebResourceCheck();
$check_lnk->check();
}
// Start sending forum notifications
if($ilias->getSetting('forum_notification') == 2)
{
include_once './cron/classes/class.ilCronForumNotification.php';
$frm_not =& new ilCronForumNotification();
$frm_not->sendNotifications();
}
// Start sending mail notifications
if($ilias->getSetting('mail_notification') == 1)
{
include_once './cron/classes/class.ilCronMailNotification.php';
$mail_not =& new ilCronMailNotification();
$mail_not->sendNotifications();
}
// Start System Check
if($ilias->getSetting('systemcheck_cron') == 1)
{
include_once './cron/classes/class.ilCronValidator.php';
$validator =& new ilCronValidator();
$validator->check();
}
// Start Disk Quota
require_once 'Services/WebDAV/classes/class.ilDiskQuotaActivationChecker.php';
{
include_once './cron/classes/class.ilCronDiskQuotaCheck.php';
$disk_quota =& new ilCronDiskQuotaCheck();
$disk_quota->updateDiskUsageStatistics();
}
{
include_once './cron/classes/class.ilCronDiskQuotaCheck.php';
$disk_quota =& new ilCronDiskQuotaCheck();
$disk_quota->sendReminderMails();
}
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: