Hi,

I'm trying to use "curate" using the command line

/dspace/bin/dspace curate -t checklinks -i all
/dspace/bin/dspace curate -t noop 

and other, but every time i see error below:

usage: curate
 -e,--eperson <arg>     email address of curating eperson
 -h,--help              help
 -i,--id <arg>          Id (handle) of object to perform task on, or 'all'
                        to perform on whole repository
 -p,--parameter <arg>   a task parameter 'NAME=VALUE'
 -q,--queue <arg>       name of task queue to process
 -r,--reporter <arg>    relative or absolute path to the desired report
                        file. Use '-' to report to console. If absent, no
                        reporting
 -s,--scope <arg>       transaction scope to impose: use 'object',
                        'curation', or 'open'. If absent, 'open' applies
 -t,--task <arg>        curation task name; options: [noop,
                        profileformats, requiredmetadata, checklinks,
                        registerdoi]
 -T,--taskfile <arg>    file containing curation task names
 -v,--verbose           report activity to stdout

whole repo: CurationCli -t estimate -i all
single item: CurationCli -t generate -i itemId
task queue: CurationCli -q monthly
org.apache.commons.cli.ParseException: Required parameter -e missing!
at 
org.dspace.curate.CurationCli.assignCurrentUserInContext(CurationCli.java:45)
at org.dspace.curate.Curation.setup(Curation.java:230)
at org.dspace.scripts.DSpaceRunnable.parse(DSpaceRunnable.java:86)
at org.dspace.scripts.DSpaceRunnable.initialize(DSpaceRunnable.java:75)
at 
org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:148)
at 
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)

Why? Best,

Karol

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7ce90f29-5b9a-4710-80a6-adf14676dfb9n%40googlegroups.com.

Reply via email to