4 include_once
"Services/Cron/classes/class.ilCronJob.php";
24 return "src_lucene_indexer";
31 return $lng->txt(
"cron_lucene_index");
38 return $lng->txt(
"cron_lucene_index_info");
43 return self::SCHEDULE_TYPE_DAILY;
66 $error_message = null;
70 include_once
'./Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
72 CLIENT_ID.
'_'.$ilSetting->get(
'inst_id',0),
78 $error_message = $e->getMessage();
83 'Indexing will continoue without a proper return message. View ilServer log if you think there are problems while indexing.');
84 $error_message = null;
93 $result->setMessage($error_message);
113 include_once
'./Services/Search/classes/class.ilSearchSettings.php';
123 include_once
'./Services/WebServices/RPC/classes/class.ilRpcClientFactory.php';
125 CLIENT_ID.
'_'.$ilSetting->get(
'inst_id',0),
132 $error_message = $e->getMessage();
getDefaultScheduleValue()
Cron job application base class.
static factory($a_package, $a_timeout=0)
Creates an ilRpcClient instance to our ilServer.
static updateLuceneIndex($a_obj_ids)
Update lucene index.
Class ilRpcClientException.
static getLogger($a_component_id)
Get component logger.
Cron job result data container.