Page History
...
While every DSpace installation is unique, in order to get the most out of DSpace, we highly recommend enabling these basic cron settings (the settings are described below):
Code Block |
---|
################## # INITIALIZE THIS VARIABLE TO POINT TO THE FULL PATH OF YOUR DSPACE INSTALLATION GLOBAL VARIABLES ################## # Full path of your local DSpace Installation (e.g. /home/dspace/ or /dspace or similar) # MAKE SURE TO CHANGE THIS VALUE!!! DSPACE = [dspace] # Shell to use SHELL=/bin/sh ############## # HOURLY TASKS (Recommended to be run multiple times per day, if possible) # While these are recommended# Add all major 'bin' directories to path PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # Set JAVA_OPTS with defaults for DSpace Cron Jobs. # Only provides 512MB of memory by default (which should be enough for most sites). But, feel free to increase as needed to give more memory. JAVA_OPTS="-Xmx512M -Xms512M -Dfile.encoding=UTF-8" ############## # HOURLY TASKS (Recommended to be run multiple times aper day, you could instead run them once per day if possible) # At a minimum these tasks should be run daily. ############## # Regenerate DSpace Sitemaps every 8 hours (12AM, 8AM, 4PM). # SiteMaps ensure that your content is more findable in Google, Google Scholar, and other major search engines. 0 0,8,16 * * * $DSPACE/bin/dspace generate-sitemaps > /dev/null ################ # DAILY TASKS (Recommended to be run once per day. Feel free to tweak the scheduled times below.) ################ # Send out subscription e-mails at 01:00 every day # This sends an email to any users who have "subscribed" to a Collection, notifying them of newly added content. 0 1 * * * [dspace]/bin/dspace sub-daily # Run the media filter at 02:00 every day. # This task ensures that thumbnails are generated for newly add images, # and also ensures full text search is available for newly added PDF/Word/PPT/HTML documents 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 |
...
Overview
Content Tools