Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add sitemap generation cron job and update the list of jobs

...

The above installation steps are sufficient to set up a test server to play around with, but there are a few other steps and options you should probably consider before deploying a DSpace production site.

'cron' Jobs

A couple of few DSpace features require that a script is run regularly :

  • the e-mail subscription feature that alerts users of new items being deposited

...

  • ;
  • the new 'media filter' tool, that generates thumbnails of images and extracts the full-text of documents for indexing;
  • the 'checksum checker' that tests the bitstreams in your repository for corruption;
  • the sitemap generator, which builds compact lists of content to lessen the load created by search engine indexing.

To set these up, you just need to run the following command as the dspace UNIX user:

...

Code Block
# Send out subscription e-mails at 01:00 every day
0 1 * * *  [dspace]/bin/dspace sub-daily
# Run the media filter at 02:00 every day
0 2 * * *  [dspace]/bin/dspace filter-media
# Run the checksum checker at 03:00
0 3 * * *  [dspace]/bin/dspace checker -lp
# Mail the results to the sysadmin at 04:00
0 4 * * *  [dspace]/bin/dspace checker-emailer -c
# Regenerate sitemaps at 6:00 AM local time each morning
0 6 * * * [dspace]/bin/dspace generate-sitemaps

Naturally you should change the frequencies to suit your environment.

...