Difference between revisions of "SUNScholar/Daily Admin"
Jump to navigation
Jump to search
m (→Introduction) |
m (→Introduction) |
||
| Line 7: | Line 7: | ||
<font color="red">'''Just after installation it is critically important that you enable daily automated tasks for your digital archive. See details below.'''</font> | <font color="red">'''Just after installation it is critically important that you enable daily automated tasks for your digital archive. See details below.'''</font> | ||
| − | In order to send out subscription emails, update search | + | 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. | On a Unix/Linux based system this is easy to accomplish with use of the "crontab" facility. | ||
Revision as of 13:36, 26 June 2015
Back to After Installation Tasks
Contents
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
Copy and paste the following:
20 4 * * * vacuumdb --analyze dspace > /dev/null 2>&1
References
- http://www.crontab-generator.org
- http://en.wikipedia.org/wiki/Cron
- http://adminschoice.com/crontab-quick-reference
- http://www.yourownlinux.com/2014/04/schedule-your-jobs-in-linux-with-cron-examples-and-tutorial.html
- http://ask.xmodulo.com/add-cron-job-linux.html
- http://teknixx.com/working-with-cron-jobs-on-linux