Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add cron job for unsubscribing fxhome subscriptions after 10 days

  • Loading branch information...
commit 86374566fab0319e28bdccbc8e9150e0f8805f7f 1 parent 180bf8c
Alex Buchanan authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  cron/prod
View
1  cron/prod
@@ -2,4 +2,5 @@ MAILTO=abuchanan@mozilla.com
* * * * * apache cd /data/generic/www/django/basket.mozilla.com/basket; /usr/bin/python26 manage.py sendmail --email emails.home.Initial firefox-home-instructions > /dev/null
* * * * * apache cd /data/generic/www/django/basket.mozilla.com/basket; /usr/bin/python26 manage.py sendmail --email emails.home.Reminder firefox-home-instructions > /dev/null
*/3 * * * * apache cd /data/generic/www/django/basket.mozilla.com/basket; /usr/bin/python26 manage.py sync_unsubscribe > /dev/null
+*/3 * * * * apache cd /data/generic/www/django/basket.mozilla.com/basket; /usr/bin/python26 manage.py unsubscribe --conditional=ageutils.subscription_older_than_ten_days firefox-home-instructions
MAILTO=root
Please sign in to comment.
Something went wrong with that request. Please try again.