comment out bounce report, alias creation report in daily report
This commit is contained in:
parent
ebe727dc53
commit
74d4aa9f8f
43
cron.py
43
cron.py
|
@ -462,27 +462,28 @@ nb_referred_user: {stats_today.nb_referred_user} - {increase_percent(stats_yeste
|
||||||
nb_referred_user_upgrade: {stats_today.nb_referred_user_paid} - {increase_percent(stats_yesterday.nb_referred_user_paid, stats_today.nb_referred_user_paid)}
|
nb_referred_user_upgrade: {stats_today.nb_referred_user_paid} - {increase_percent(stats_yesterday.nb_referred_user_paid, stats_today.nb_referred_user_paid)}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
report += f"""
|
# todo: re-enable
|
||||||
----
|
# report += f"""
|
||||||
Bounce report:
|
# ----
|
||||||
"""
|
# Bounce report:
|
||||||
|
# """
|
||||||
for email, bounces in bounce_report():
|
#
|
||||||
report += f"{email}: {bounces} "
|
# for email, bounces in bounce_report():
|
||||||
|
# report += f"{email}: {bounces} "
|
||||||
report += f"""
|
#
|
||||||
-----
|
# report += f"""
|
||||||
Alias creation report:
|
# -----
|
||||||
"""
|
# Alias creation report:
|
||||||
|
# """
|
||||||
for email, nb_alias, date in alias_creation_report():
|
#
|
||||||
report += f"{email}, {date}: {nb_alias}\n"
|
# for email, nb_alias, date in alias_creation_report():
|
||||||
|
# report += f"{email}, {date}: {nb_alias}\n"
|
||||||
report += f"""
|
#
|
||||||
-----
|
# report += f"""
|
||||||
Bounce detail report:
|
# -----
|
||||||
"""
|
# Bounce detail report:
|
||||||
report += all_bounce_report()
|
# """
|
||||||
|
# report += all_bounce_report()
|
||||||
|
|
||||||
LOG.d("report email: %s", report)
|
LOG.d("report email: %s", report)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue