Page History
...
Code Block |
---|
# Update the OAI-PMH index with the newest content (and re-optimize that index) at midnight every day # NOTE: ONLY NECESSARY IF YOU ARE RUNNING OAI-PMH # (This ensures new content is available via OAI-PMH and ensures the OAI-PMH index is optimized for better performance) 0 0 * * * [dspace.dir]/bin/dspace oai import -o > /dev/null |
More information about the dspace oai
commandline tool can be found in the OAI Manager documentation.
...
dspace/bin/dspace harvest -s -c 123456789/123 -e harvest-user@dspace.org -a https://harvest.source.org -i harvest-set -m dc -t 1
Replace the 123456789/123
with your collection, the harvest-user@dspace.org
with an existing user in DSpace that has sufficient rights to perform the ingestion, https://harvest.source.org
with the source you want to use, the harvest-set
with the set/sets you want to harves or all
in case you want to harvest all sets. The -m
parameter indicated the metadata format to be used and the -t
parameter indicates the harvest type to be used. When the value 0
is used for -t
, harvesting will be disabled.
...
Replace the 123456789/123
with your collection, the harvest-user@dspace.org
with an existing user in DSpace that has sufficient rights to perform the ingestion.
...
If the current server configuration needs to be retested at a later point, the "Test configuration" button can be used. To fully reset the collection by purging all items and starting a reimport, click the "Reset and reimport" button.