From 6e4e737af03d4db50edd475c16538805ee7b1ec3 Mon Sep 17 00:00:00 2001 From: Son NK Date: Tue, 4 Feb 2020 14:27:12 +0700 Subject: [PATCH] add more logging --- cron.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cron.py b/cron.py index 49e1880c..dd61bbad 100644 --- a/cron.py +++ b/cron.py @@ -122,6 +122,8 @@ if __name__ == "__main__": with app.app_context(): if args.job == "stats": + LOG.d("Compute Stats") stats() elif args.job == "notify_trial_end": + LOG.d("Notify users with trial ending soon") notify_trial_end()