Changes

From SME Server
Jump to navigationJump to search
317 bytes added ,  06:58, 6 December 2007
no edit summary
Line 84: Line 84:  
  /opt/mailinglist/search/ez_indexer.pl --create --verbose
 
  /opt/mailinglist/search/ez_indexer.pl --create --verbose
   −
And then add it to crontab:
+
And then add it to crontab. Create a file named ezw-search and add this content:
 +
 
 +
#!/bin/bash
 +
cd /opt/mailinglist/search
 +
./ez_indexer.pl --update
 +
 
 +
Save and correct perms:
 +
 
 +
chmod 755 ezw-search
 +
chown root.root ezw-search
 +
 
 +
Then move under /etc/cron.hourly.
 +
 
 +
Note that indexing is done incrementally, so it will be faster when just updating.
985

edits

Navigation menu