[EP-tech] Getting Editorial Alerts to work

David R Newman drn at ecs.soton.ac.uk
Mon Apr 26 13:30:24 BST 2021


Hi Ravi,

I think these require cron jobs to send out emails daily, weekly or 
monthly.  Add something like the following to the eprints user's crontab:

15 2 * * * <EPRINTS_PATH>/bin/send_alerts <ARCHIVE_NAME> daily
30 2 * * 0 <EPRINTS_PATH>/bin/send_alerts <ARCHIVE_NAME> weekly
45 2 1 * * <EPRINTS_PATH>/bin/send_alerts <ARCHIVE_NAME> monthly

Substituting <EPRINTS_PATH> and <ARCHIVE_NAME> as appropriate.

Editors will only get notifications if they have set up their Editorial 
Alerts in their profile to be "Once per Day", "Once per Week" or "Once 
per Month".  The default is Never.

Regards

David Newman

On 26/04/2021 13:08, Ravi M via Eprints-tech wrote:
> CAUTION: This e-mail originated outside the University of Southampton.
> Hello,
>
> I use an SMTP server for email on the EPrints site I administer (version 3.4). Emails go out fine for account creation and password reset, and the 'send test email' feature also works. However, I don't receive any Editorial Alerts.
>
> In the 'Editorial Rights Restriction' part of my admin account profile, I have selected all Subjects and all Item Types, and under 'frequency of mailings', I have selected 'once per day' and 'mail me when there is nothing under review'. I don't get any emails no matter what combination of settings I use (eg, 'All of these' or 'Any of these' next to Subjects). What might be the problem?
>
> Something I should mention is that there are no Divisions in my repository, so the Divisions field in the Editorial Rights Restriction section is empty - there is nothing to select. Could this be an issue?
>
> Best wishes,
> Ravi
> My EPrints site: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Faurorepo.in%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6dff604d5fc24b7746d908d908af1126%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637550370280667253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=jz2oosdHQKKjQy8Vckb1oxg5qXISvEimVhVdvGHKLkw%3D&amp;reserved=0
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6dff604d5fc24b7746d908d908af1126%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637550370280667253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=sA6x4Wre4tgRt5G5UzqhA429x0g5eoiLEC5sV7dkC5Y%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6dff604d5fc24b7746d908d908af1126%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637550370280667253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=bZabzB7r7TwctCN7YVLXiSnsJrwlqA53rg4MESKFmJs%3D&amp;reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C6dff604d5fc24b7746d908d908af1126%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637550370280667253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=nlCYWkqd6z7OLT1jmhfX5h8sl0cpuORkDS2WZvWtROg%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210426/01e55754/attachment-0001.html 


More information about the Eprints-tech mailing list