All Versions
DSpace Documentation
| Table of Contents | ||||||
|---|---|---|---|---|---|---|
|
| Note |
|---|
As of DSpace 9.2, the "-a" argument was renamed to "-i". However, the longer form is still "--handle". See the full list of arguments below. |
Checksum Checker is program that can run to verify the checksum of every item within DSpace. Checksum Checker was designed with the idea that most System Administrators will run it from the cron. Depending on the size of the repository choose the options wisely.
Command used: |
|
Java class: | org.dspace.app.checker.ChecksumChecker |
Arguments short and (long) forms): | Description |
| Loop continuously through the bitstreams |
| Specify a handle to check |
| Space separated list of bitstream IDs |
| Check count |
| Checking duration |
| Calls online help |
| Loop once through bitstreams |
| Prune old results (optionally using specified properties file for configuration |
| Report all processing |
...
[dspace]/bin/dspace checker -c To check a specific number of bitstreams. The -c option if followed by an integer, the number of bitstreams to check. Example: [dspace/bin/dspace checker -c 10 This is particularly useful for checking that the checker is executing properly. The Checksum Checker's default execution mode is to check a single bitstream, as if the option was -c 1Duration mode: [dspace]/bin/dspace checker -d To run the Check for a specific period of time with a time argument. You may use any of the time arguments below: Example: [dspace/bin/dspace checker -d 2h(Checker will run for 2 hours)
s | Seconds |
m | Minutes |
h | Hours |
d | Days |
w | Weeks |
y | Years |
The checker will keep starting new bitstream checks for the specific durations, so actual execution duration will be slightly longer than the specified duration. Bear this in mind when scheduling checks.
[dspace]/bin/dspace checker -b Checker will only look at the internal bitstream IDs. Example: [dspace]/bin/dspace checker -b 112 113 4567 Checker will only check bitstream IDs 112, 113 and 4567.[dspace]/bin/dspace checker -ai Checker will only check bitstreams within the Community, Community or the item itself. Example: [dspace]/bin/dspace checker -a i 123456/999 Checker will only check this handle. If it is a Collection or Community, it will run through the entire Collection or Community.[dspace]/bin/dspace checker -l or [dspace]/bin/dspace checker -L There are two modes. The lowercase 'el' (-l) specifies to check every bitstream in the repository once. This is recommended for smaller repositories who are able to loop through all their content in just a few hours maximum. An uppercase 'L' (-L) specifies to continuously loops through the repository. This is not recommended for most repository systems. Cron Jobs. For large repositories that cannot be completely checked in a couple of hours, we recommend the -d option in cron.[dspace]/bin/dspace checker -p The Checksum Checker will store the result of every check in the checksum_history table. By default, successful checksum matches that are eight weeks old or older will be deleted when the -p option is used. (Unsuccessful ones will be retained indefinitely). Without this option, the retention settings are ignored and the database table may grow rather large!Note that options -c, -d, -b, -ai, -l, and -L are mutually exclusive. For example, it is not possible limit the running time or bitstream count of looping modes.
...
Command used: |
|
Java class: | org.dspace.checker.DailyReportEmailer |
Arguments short and (long) forms): | Description |
| Send all the results (everything specified below) |
| Send E-mail report for all bitstreams set as deleted for today. |
| Send E-mail report for all bitstreams not found in assetstore for today. |
| Send E-mail report for all bitstreams where checksum has been changed for today. |
| Send the Unchecked bitstream report. |
| Send E-mail report for all bitstreams set to longer be processed for today. |
| Help |
...