[EP-tech] Re: Preservation toolkit - triggering classification
David Tarrant
davetaz at ecs.soton.ac.uk
Thu Mar 29 08:05:37 BST 2012
Rory,
There should be a "cron" event on the indexer (which you can find via "admin" -> "status"). Note that if you have failed droid classification events on the indexer you will need to remove all of these as the cron script calls create_unique() which won't create a new event over a failed one, this is a bug.
Cheers
Dave T
On 27 Mar 2012, at 22:19, Rory McNicholl wrote:
> Hello all,
>
> Having a bit of trouble getting some objects classified using the preservation toolkit in EP 3.3.6
>
> The allow_droid_classification_control appears to be ignored (according to the screen and some grepping) so there is no button to press.
>
> # Option to enable interface buttons to manually start classification scans, normally this process would just be controlled by a cron job.
> $c->{"allow_droid_classification_control"} = 1;
>
> I was wondering what the mentioned cron would look like? The bazaar package does not drop any scripts in bin to run, so is there a neat new way to trigger events via cron? It doesn't appear to be happening automatically.
>
> ---
>
> Also FYI I had to patch the Droid epm. lib/plugins/EPrints/Plugin/Screen/EPMC/Droid.pm There is a move() in there that was copying just the DROID directory from tmp and none of the java-y bits within. This may be the way RHEL behaves with File::Copy::move (Maybe debian invokes it in a more mv-like way)
>
> I fixed it by using File::Copy::Recursive::rmove
>
> There may be a less awkward method, but that worked for me.
>
> Cheers,
>
> Rory
>
> --
> Rory McNicholl
> Senior developer
> Digital Archives & Repositories Team
> University of London Computer Centre
> Senate House
> Malet Street
> London
> WC1E 7HU
>
> t: +44 (0)20 7863 1344
> e: r.mcnicholl at ulcc.ac.uk
> w: http://www.ulcc.ac.uk/
> b: http://dablog.ulcc.ac.uk/
>
> The University of London is an exempt charity in England and Wales and a charity registered in Scotland (reg. no. SC041194)
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120329/1990363f/attachment.html
More information about the Eprints-tech
mailing list