SUNScholar/Daily Admin

From Libopedia
Jump to navigation Jump to search
Back to After Installation Tasks

Introduction

Just after installation it is critically important that you enable daily automated tasks for your digital archive. See details below.

In order to send out subscription emails, update search, browse, full-text indexes and do general daily housekeeping on the system, a regular maintenance script must be run automatically daily.

On a Unix/Linux based system this is easy to accomplish with use of the "crontab" facility.

Click on the headings below for more details of required "crontab"'s.

For DSpace 5.X

For DSpace 4.X

For DSpace 3.X

PostgreSQL

PostgreSQL also benefits from regular maintenance such as vacumn, which optimizes the indexes and clears out any deleted data.

Type as follows in a terminal:

sudo -i

Enter the "dspace" user password. Then type:

su - postgres
crontab -e

When asked which editor to use, select "nano.

Then copy and paste the following:

20 4 * * * vacuumdb --analyze dspace > /dev/null 2>&1

References
https://wiki.lib.sun.ac.za/index.php?title=SUNScholar/Daily_Admin&oldid=38895
wiki.lib.sun.ac.za
crawl=CC-MAIN-2022-49
19707
application/http; msgtype=response
sha1:4P7X7YFO6755MXZ2PUTBW5JBKLV3UVZ5
<urn:uuid:4c1f7bfb-ed5a-4da7-8258-077c7220426d>
2022-11-27T15:05:09Z
146.232.129.132
text/html
sha1:SRJPPLXQF34LM3N7C7CUTWEAF4DHAD7T
<urn:uuid:9f35a606-57b5-4576-886e-af5196f80bbd>
https://wiki.lib.sun.ac.za/index.php?title=SUNScholar/Daily_Admin&oldid=38895
response
<urn:uuid:10321bd4-7e45-473d-ac34-5d219533295e>
isPartOf: CC-MAIN-2022-49
publisher: Common Crawl
description: Wide crawl of the web for November/December 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-196
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.4-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/