[Koha-bugs] [Bug 6810] Send membership expiry reminder notices
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 24 06:40:51 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6810
Amit Gupta <amit.gupta at osslabs.biz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #5375|0 |1
is obsolete| |
--- Comment #5 from Amit Gupta <amit.gupta at osslabs.biz> ---
Created attachment 9751
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9751&action=edit
Bug_6810 Send membership expiry reminder notices.
A new crontab based perl script to send membership expiry reminders. A system
preference controls the number of days in advance of membership expiry that the
notices will be sent on.
To Test:
1) Create a new Patron and set membership expiry date 14 days from the date of
registration.
2) Check your systemprefence ( MemExpDayNotice to 14 days)
3) Manual testing Run ( perl membership_expiry.pl -h)
It would give you various option:
This script prepares for membership expiry reminders to be sent to
patrons. It queues them in the message queue, which is processed by
the process_message_queue.pl cronjob.
See the comments in the script for directions on changing the script.
This script has the following parameters :
-c Confirm and remove this help & warning
-n send No mail. Instead, all mail messages are printed on screen. Usefull
for testing purposes.
-v verbose
Do you wish to continue? (y/n)
4) Choose option for ex: perl membership_expiry.pl -c
5) Go to your koha database and check message_queue table you see some results.
6) Run (perl process_message_queue.pl) it will send email to those patron whose
membership after 14 days from today.
7) Cron testing: (10 1 * * * $KOHA_CRON_PATH/membership_expiry.pl -c)
8) Set your 15 * * * * $KOHA_CRON_PATH/process_message_queue.pl
9) After running membership_expiry.pl, (process_message_queue.pl will send
emails to those patron whose membership after 14 days from today).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list