diff --git a/search2/bin/cronDocumentProcessor.php b/search2/bin/cronDocumentProcessor.php new file mode 100644 index 0000000..4c2b57a --- /dev/null +++ b/search2/bin/cronDocumentProcessor.php @@ -0,0 +1,46 @@ +. + * + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * California 94120-7775, or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +chdir(dirname(__FILE__)); +require_once(realpath('../../config/dmsDefaults.php')); + +KTUtil::call_page('search2/documentProcessor/bin/documentProcessor.php'); + + +?> \ No newline at end of file diff --git a/sql/mysql/install/data.sql b/sql/mysql/install/data.sql index fcaa549..2264fe6 100644 --- a/sql/mysql/install/data.sql +++ b/sql/mysql/install/data.sql @@ -1359,16 +1359,14 @@ UNLOCK TABLES; LOCK TABLES `scheduler_tasks` WRITE; /*!40000 ALTER TABLE `scheduler_tasks` DISABLE KEYS */; INSERT INTO `scheduler_tasks` VALUES -(1,'Document Processor','search2/documentProcessor/bin/documentProcessor.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'system'), +(1,'Document Processor','search2/bin/cronDocumentProcessor.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'system'), (2,'Index Migration','search2/bin/cronMigration.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'system'), (3,'Index Optimization','search2/bin/cronOptimize.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'system'), (4,'Periodic Document Expunge','bin/expungeall.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'disabled'), (5,'Database Maintenance','bin/dbmaint.php','optimize',0,'monthly','2007-10-01 00:00:00',NULL,0,'disabled'), (6,'OpenOffice test','bin/checkopenoffice.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'), (7,'Cleanup Temporary Directory','search2/bin/cronCleanup.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'), -(8,'Disk Usage and Folder Utilisation Statistics','plugins/housekeeper/bin/UpdateStats.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'enabled'), -(9,'Refresh Index Statistics','search2/bin/cronIndexStats.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'), -(10,'Refresh Resource Dependancies','search2/bin/cronResources.php','',0,'5min','2007-10-01 00:00:00',NULL,0,'enabled'); +(8,'Disk Usage and Folder Utilisation Statistics','plugins/housekeeper/bin/UpdateStats.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'enabled'); /*!40000 ALTER TABLE `scheduler_tasks` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/mysql/upgrade/3.5.5/scheduler_tasks.sql b/sql/mysql/upgrade/3.5.5/scheduler_tasks.sql index 5eb9d49..c39de68 100644 --- a/sql/mysql/upgrade/3.5.5/scheduler_tasks.sql +++ b/sql/mysql/upgrade/3.5.5/scheduler_tasks.sql @@ -1,5 +1,5 @@ select @id:=ifnull(max(id),0)+1 from scheduler_tasks; -INSERT INTO `scheduler_tasks` VALUES (@id,'Document Processor','search2/documentProcessor/bin/documentProcessor.php','',0,'1min','2007-10-01',NULL,0,'system'); +INSERT INTO `scheduler_tasks` VALUES (@id,'Document Processor','search2/bin/cronDocumentProcessor.php','',0,'1min','2007-10-01',NULL,0,'system'); DELETE FROM scheduler_tasks WHERE task = 'Indexing'; DELETE FROM scheduler_tasks WHERE task = 'Refresh Index Statistics';