EPrints 2.3 Documentation - send_subscriptions command



NAME

send_subscriptions - Send out all the email subscriptions for a given frequency.


SYNOPSIS

generate_views archiveid frequency [options]


DESCRIPTION

This script sends out all the subscription emails for the specified archive and frequency. frequency must be one of daily|weekly|monthly.

This script should probably be called from your ``cron'' system, soon after midnight. Something like:

 # 00:15 every morning
 15 0 * * * /opt/eprints2/bin/send_subscriptions dookuprints daily
 # 00:30 every sunday morning
 30 0 * * 0 /opt/eprints2/bin/send_subscriptions dookuprints weekly
 # 00:45 every first of the month
 45 0 1 * * /opt/eprints2/bin/send_subscriptions dookuprints monthly

Note the spacing out so that all 3 don't start at once and hammer the database.


ARGUMENTS

archiveid
The ID of the eprint archive to use.

frequency
Which ``frequency'' of subscriptions to send - the daily, weekly or monthly ones.


OPTIONS

--help
Print a brief help message and exit.

--man
Print the full manual page and then exit.

--quiet
Be vewwy vewwy quiet. This option will supress all output unless an error occurs.

--verbose
Explain in detail what is going on. May be repeated for greater effect.

--version
Output version information and exit.


AUTHOR

This is part of this EPrints 2 system. EPrints 2 is developed by Christopher Gutteridge.


VERSION

EPrints Version: 2.3.8


CONTACT

For more information goto http://www.eprints.org/ which give information on mailing lists and the like.

Chris Gutteridge may be contacted at support@eprints.org

Should you need a real world address for some reason, EPrints can be contacted in the real world at

 EPrints c/o Christopher Gutteridge
 Department of Electronics and Computer Science
 University of Southampton
 SO17 1BJ
 United Kingdom


COPYRIGHT

This file is part of GNU EPrints 2.

Copyright (c) 2000-2004 University of Southampton, UK. SO17 1BJ.

EPrints 2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

EPrints 2 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with EPrints 2; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

 EPrints 2.3 Documentation - send_subscriptions command