EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07961
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Action upon Lifting Embargo
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Action upon Lifting Embargo
- From: James Kerwin <jkerwin2101@gmail.com>
- Date: Mon, 2 Sep 2019 13:05:43 +0100
Hi All,
I have yet another, probably simple, question to ask.
I have a script that does something (sends a tweets if anybody is interested...) on an EPrint status change using:
$c->{eprint_status_change} = sub {
It quickly escapes if an item has an embargo on it. I then want a slightly different version of the same script to run when embargoes are lifted.
Is there a way to make this happen? I'm currently looking at bin/lift_embargos and seeing where I can drop a call to my script in there. I was wondering if there was a better or more proper way to make this happen?
I have tried to look at the EPrints documentation, but not managed to find what I want.
Thanks,
James
- Follow-Ups:
- [EP-tech] Action upon Lifting Embargo
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Action upon Lifting Embargo
- References:
- [EP-tech] Action upon Lifting Embargo
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Action upon Lifting Embargo
- Prev by Date: Re: [EP-tech] Getting Data from the EPrints Database - not urgent
- Next by Date: Re: [EP-tech] Action upon Lifting Embargo
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):