Difference between revisions of "API:bin/issues audit"

From EPrints Documentation
Jump to: navigation, search
(Added issues_audit page)
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<!-- Pod2Wiki=_preamble_  
 
<!-- Pod2Wiki=_preamble_  
This page has been automatically generated from the EPrints 3.2 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' comments will be lost.
+
This page has been automatically generated from the EPrints 3.4 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' comments will be lost.
  -->{{API}}{{Pod2Wiki}}{{API:Source|file=bin/import_subjects|package_name=bin/import_subjects}}[[Category:API|BIN/IMPORT_SUBJECTS]][[Category:API:bin/import_subjects|BIN/IMPORT_SUBJECTS]][[Category:API:bin/import_subjects|BIN/IMPORT_SUBJECTS]]<div><!-- Edit below this comment -->
+
  -->{{API}}{{Pod2Wiki}}{{API:Source|file=bin/issues_audit|package_name=bin/issues_audit}}[[Category:API]]<div><!-- Edit below this comment -->
  
 
<!-- Pod2Wiki=_private_ --><!-- Pod2Wiki=head_name -->
 
<!-- Pod2Wiki=_private_ --><!-- Pod2Wiki=head_name -->
Line 54: Line 54:
 
; '''--version'''
 
; '''--version'''
 
:Output version information and exit.
 
:Output version information and exit.
 
  
 
<pre></pre>
 
<pre></pre>
Line 63: Line 62:
 
<!-- Pod2Wiki= -->
 
<!-- Pod2Wiki= -->
 
<!-- Pod2Wiki=head_copyright -->
 
<!-- Pod2Wiki=head_copyright -->
==COPYRIGHT==
 
 
==COPYRIGHT==
 
==COPYRIGHT==
 
Copyright 2022 University of Southampton. EPrints 3.4 is supplied by EPrints Services.
 
Copyright 2022 University of Southampton. EPrints 3.4 is supplied by EPrints Services.

Latest revision as of 13:29, 5 March 2022

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 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/.