Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00034 class ilCronCheck
00035 {
00036 function ilCronCheck()
00037 {
00038 global $ilLog;
00039
00040 $this->log =& $ilLog;
00041 }
00042
00043 function start()
00044 {
00045 global $ilias;
00046
00047
00048 if($ilias->getSetting('cron_user_check'))
00049 {
00050 include_once './cron/classes/class.ilCronCheckUserAccounts.php';
00051
00052 $check_ua =& new ilCronCheckUserAccounts();
00053 $check_ua->check();
00054 }
00055
00056
00057 if($ilias->getSetting('cron_link_check'))
00058 {
00059 include_once './cron/classes/class.ilCronLinkCheck.php';
00060
00061 $check_lnk =& new ilCronLinkCheck();
00062 $check_lnk->check();
00063
00064 }
00065
00066
00067 if($ilias->getSetting('cron_web_resource_check'))
00068 {
00069 include_once './cron/classes/class.ilCronWebResourceCheck.php';
00070
00071 $check_lnk =& new ilCronWebResourceCheck();
00072 $check_lnk->check();
00073 }
00074
00075 if($ilias->getSetting("cron_lucene_index"))
00076 {
00077 include_once './Services/Search/classes/Lucene/class.ilLuceneIndexer.php';
00078
00079 $lucene_ind =& new ilLuceneIndexer();
00080 $lucene_ind->index();
00081 }
00082
00083
00084 if($ilias->getSetting('forum_notification') == 2)
00085 {
00086 include_once './cron/classes/class.ilCronForumNotification.php';
00087
00088 $check_lnk =& new ilCronForumNotification();
00089 $check_lnk->sendNotifications();
00090
00091 }
00092
00093 }
00094 }
00095
00096
00097
00098
00099 ?>