Archived / Obsolete Documentation

Documentation in this space is no longer accurate.
Looking for official DSpace documentation? See all documentation

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Usage:

This is a tool to perform various checks and reports about your dspace instance. Use cron to schedule it periodically.

Command used:

\[dspace\]/bin/dspace healthcheck

Java class:org.dspace.health.Report
Configuration file:config/modules/healthcheck.cfg
Argument short and long formDescription

-c,--check <arg>

Perform only specific check (use index starting from 0).

Repeatable (e.g. dspace healthcheck -c 0 -c 2)

-e,--email <arg>

Send report to email (arg) address. Can be a property

resolvable by ConfigurationManager.getProperty(String),

e.g. mail.admin

-f,--for <arg>

For last N days. Overrides the last_n_days variable from

 config file.

-h,--help Show available checks and their index. Show the usage.
-v,--verbose Verbose report.

 

Writing own checks:

  • No labels