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.
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:
Enter the "dspace" user password. Then type:
su - postgres
When which editor to use, select "nano.
Then copy and paste the following:
20 4 * * * vacuumdb --analyze dspace > /dev/null 2>&1