| Summary: | Provide koha-cleanup-database command for package install | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Ian Palko <library> |
| Component: | Command-line Utilities | Assignee: | Galen Charlton <gmcharlt> |
| Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | robin |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Crowdfunding committed: | 0 |
| Crowdfunding contact: | Patch complexity: | --- | |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
|
Description
Ian Palko
2016-02-29 14:53:26 UTC
Hi Ian, koha-cleanup-database is supposed to be run as a daily cronjob and normally not run manually. If you look into your cronjob configuration you can change the options it's run with to fit your library's needs and clean up the z39.50 imported records regularly. There is also a tool that helps to run any of the scripts from command line - it sets up all the right environment variables for you: https://wiki.koha-community.org/wiki/Commands_provided_by_the_Debian_packages#koha-shell (In reply to Katrin Fischer from comment #1) > Hi Ian, > > koha-cleanup-database is supposed to be run as a daily cronjob and normally > not run manually. If you look into your cronjob configuration you can change > the options it's run with to fit your library's needs and clean up the > z39.50 imported records regularly. > > There is also a tool that helps to run any of the scripts from command line > - it sets up all the right environment variables for you: > https://wiki.koha-community.org/wiki/ > Commands_provided_by_the_Debian_packages#koha-shell Katrin, Thanks for the information. Somehow I missed the koha-shell. After a number of years of Koha, you'd think I'd be more diligent in reading documentation. The reason for the manual command started with Kyle Hall's sugggeston and highlighting the database bloat with z39.50 records. Also, our cronjobs are not running as expected. I suspect a local configuration problems, even though it's a fresh vanilla package setup. The koha-shell does do what I needed without a new command, so I'll close the enhancement bug. |