aboutsummaryrefslogtreecommitdiffstats
path: root/script/compact-xapian-database
Commit message (Collapse)AuthorAgeLines
* Use full path as cron does not necessarily have access to $PATH.Louise Crow2015-04-02-1/+1
| | | | | The alternative would be to set a $PATH environment variable in the cron file.
* No need to su to the site user, cron should already run as them.Louise Crow2015-03-30-4/+1
|
* Add optional daemon_name parameterGareth Rees2015-03-09-1/+2
| | | | For hosts with multiple alaveteli services
* Restart alaveteli rather than apacheGareth Rees2015-03-09-1/+1
|
* Fix formatting of compact-xapian-databaseGareth Rees2014-04-14-14/+17
|
* Suppress non-error output compact-xapian-databaseGareth Rees2014-04-14-3/+5
| | | | Cron sends an email for all output, whereas generally we only want to get an email if the command exited in error.
* Move acts_as_xapian out of vendor/pluginsMark Longair2013-11-29-1/+1
| | | | | This includes making making sure that xapiandbs directory is moved with this version of the code.
* Improve db compact script: handle spaces in filenames nicely, output errors ↵Seb Bacon2011-08-12-10/+19
| | | | to STDERR, and don't do anything if there's a half-finished attempt still lying around.
* Compact database regularly. Fixes #127.Seb Bacon2011-08-11-0/+16