EPrints 2.3 Documentation - send_subscriptions command



NAME

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


SYNOPSIS

generate_views repository_id frequency [options]


DESCRIPTION

This script sends out all the subscription emails for the specified repository 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

repository_id

The ID of the eprint repository 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.

 EPrints 2.3 Documentation - send_subscriptions command