API:bin/issues audit

From EPrints Documentation
Revision as of 12:19, 5 March 2022 by Drn@ecs.soton.ac.uk (talk | contribs) (Added issues_audit page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki

NAME

issues_audit - Update the issues field of all eprints.


SYNOPSIS

issues_audit repository_id [options] [eprint ids]


DESCRIPTION

This script updates the Issues field of all eprints in the live archive and buffer.

This script should probably be called from your "cron" system, soon after midnight. Something like:

# 00:23 every morning
23 0 * * * EPRINTS_PATH/bin/issues_audit REPOSITORY_ID

This script will take longer as your repository grows, so initially you may want to run it more frequently, or on very large systems you might move to just run it on Sundays.


ARGUMENTS

repository_id
The ID of the eprint repository to use.


OPTIONS

--help
Print a brief help message and exit.
--man
Print the full manual page and then exit.
--quiet
Be vewwy vewwy quiet. This option will supress all output unless an error occurs.
--verbose
Explain in detail what is going on. May be repeated for greater effect.
--version
Output version information and exit.




COPYRIGHT

COPYRIGHT

Copyright 2022 University of Southampton. EPrints 3.4 is supplied by EPrints Services.

http://www.eprints.org/eprints-3.4/

This file is part of EPrints 3.4 http://www.eprints.org/.

EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.

EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.