Parcourir la source

README: Email notification for membership reminder

Baptiste Jonglez il y a 10 ans
Parent
commit
759a90eb75
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  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.
 each month, invoices will be generated for all subscriptions.
 This will run the command at 23:59 every day:
 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:
 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
 More information
 ================
 ================