<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=API%3Abin%2Fsend_alerts</id>
	<title>API:bin/send alerts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=API%3Abin%2Fsend_alerts"/>
	<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=API:bin/send_alerts&amp;action=history"/>
	<updated>2026-05-06T02:16:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=API:bin/send_alerts&amp;diff=14940&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added API:bin page for send_alerts</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=API:bin/send_alerts&amp;diff=14940&amp;oldid=prev"/>
		<updated>2022-03-05T13:49:16Z</updated>

		<summary type="html">&lt;p&gt;Added API:bin page for send_alerts&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Pod2Wiki=_preamble_ &lt;br /&gt;
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.&lt;br /&gt;
 --&amp;gt;{{API}}{{Pod2Wiki}}{{API:Source|file=bin/send_alerts|package_name=bin/send_alerts}}[[Category:API]]&amp;lt;div&amp;gt;&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=_private_ --&amp;gt;&amp;lt;!-- Pod2Wiki=head_name --&amp;gt;&lt;br /&gt;
==NAME==&lt;br /&gt;
'''send_alerts''' - Send out all the email alerts for a given frequency.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_synopsis --&amp;gt;&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
'''send_alerts''' ''repository_id'' ''frequency'' ['''options''']&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_description --&amp;gt;&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
This script sends out all the alerts emails for the specified repository and frequency. frequency must be one of daily|weekly|monthly.&lt;br /&gt;
&lt;br /&gt;
This script should probably be called from your &amp;quot;cron&amp;quot; system, soon after midnight. Something like:&lt;br /&gt;
&lt;br /&gt;
 # 00:15 every morning&lt;br /&gt;
 15 0 * * * EPRINTS_PATH/bin/send_alerts dookuprints daily&lt;br /&gt;
 # 00:30 every sunday morning&lt;br /&gt;
 30 0 * * 0 EPRINTS_PATH/bin/send_alerts dookuprints weekly&lt;br /&gt;
 # 00:45 every first of the month&lt;br /&gt;
 45 0 1 * * EPRINTS_PATH/bin/send_alerts dookuprints monthly&lt;br /&gt;
Note the spacing out so that all 3 don't start at once and hammer the database.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_arguments --&amp;gt;&lt;br /&gt;
==ARGUMENTS==&lt;br /&gt;
; '''repository_id'''&lt;br /&gt;
:The ID of the eprint repository to use.&lt;br /&gt;
; '''frequency'''&lt;br /&gt;
:Which &amp;quot;frequency&amp;quot; of alerts to send - the daily, weekly or monthly ones.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_options --&amp;gt;&lt;br /&gt;
==OPTIONS==&lt;br /&gt;
; '''--help'''&lt;br /&gt;
:Print a brief help message and exit.&lt;br /&gt;
; '''--man'''&lt;br /&gt;
:Print the full manual page and then exit.&lt;br /&gt;
; '''--quiet'''&lt;br /&gt;
:Be vewwy vewwy quiet. This option will supress all output unless an error occurs.&lt;br /&gt;
; '''--verbose'''&lt;br /&gt;
:Explain in detail what is going on. May be repeated for greater effect.&lt;br /&gt;
; '''--version'''&lt;br /&gt;
:Output version information and exit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_copyright --&amp;gt;&lt;br /&gt;
==COPYRIGHT==&lt;br /&gt;
Copyright 2022 University of Southampton. EPrints 3.4 is supplied by EPrints Services.&lt;br /&gt;
&lt;br /&gt;
http://www.eprints.org/eprints-3.4/&lt;br /&gt;
&lt;br /&gt;
This file is part of EPrints 3.4 http://www.eprints.org/.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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/.&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
</feed>