Browse Source

README: Email notification for membership reminder

Baptiste Jonglez 10 years ago
parent
commit
759a90eb75
1 changed files with 6 additions and 2 deletions
  1. 6 2
      README.md

+ 6 - 2
README.md

@@ -193,12 +193,16 @@ for new subscriptions are created automatically.  On the first day of
 each month, invoices will be generated for all subscriptions.
 This will run the command at 23:59 every day:
 
-`59 23 * * * /home/coin/venv/bin/python manage.py charge_subscriptions`
+    59 23 * * * /home/coin/venv/bin/python manage.py charge_subscriptions`
 
 To send reminder emails for membership fee expiration:
 
-`42 3 * * * /home/coin/venv/bin/python manage.py call_for_membership_fees`
+    42 3 * * * /home/coin/venv/bin/python manage.py call_for_membership_fees`
 
+If you want to be notified by email each time a reminder email is sent, you
+can set an email address in the crontab:
+
+    MAILTO=tresorier@myisp.fr
 
 More information
 ================