mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +08:00
comment out bounce report, alias creation report in daily report
This commit is contained in:
parent
ebe727dc53
commit
74d4aa9f8f
1 changed files with 22 additions and 21 deletions
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)}
|
||||
"""
|
||||
|
||||
report += f"""
|
||||
----
|
||||
Bounce report:
|
||||
"""
|
||||
|
||||
for email, bounces in bounce_report():
|
||||
report += f"{email}: {bounces} "
|
||||
|
||||
report += f"""
|
||||
-----
|
||||
Alias creation report:
|
||||
"""
|
||||
|
||||
for email, nb_alias, date in alias_creation_report():
|
||||
report += f"{email}, {date}: {nb_alias}\n"
|
||||
|
||||
report += f"""
|
||||
-----
|
||||
Bounce detail report:
|
||||
"""
|
||||
report += all_bounce_report()
|
||||
# todo: re-enable
|
||||
# report += f"""
|
||||
# ----
|
||||
# Bounce report:
|
||||
# """
|
||||
#
|
||||
# for email, bounces in bounce_report():
|
||||
# report += f"{email}: {bounces} "
|
||||
#
|
||||
# report += f"""
|
||||
# -----
|
||||
# Alias creation report:
|
||||
# """
|
||||
#
|
||||
# for email, nb_alias, date in alias_creation_report():
|
||||
# report += f"{email}, {date}: {nb_alias}\n"
|
||||
#
|
||||
# report += f"""
|
||||
# -----
|
||||
# Bounce detail report:
|
||||
# """
|
||||
# report += all_bounce_report()
|
||||
|
||||
LOG.d("report email: %s", report)
|
||||
|
||||
|
|
Loading…
Reference in a new issue