From 0cfd5957f6db2dd3e15355edd1e478b55aa37814 Mon Sep 17 00:00:00 2001 From: Cheng Gu Date: Mon, 17 Jul 2017 10:29:10 +0800 Subject: [PATCH] =?UTF-8?q?log:=20=E4=BB=BB=E5=8A=A1=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=A2=9E=E5=8A=A0=E6=89=A7=E8=A1=8C=E5=AE=8C?= =?UTF-8?q?=E6=AF=95=E7=9A=84=E6=97=A5=E6=9C=9F=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main.py b/app/main.py index 0fceb2b..21fccf9 100644 --- a/app/main.py +++ b/app/main.py @@ -1,5 +1,6 @@ import logging import os +import time import pickle import traceback from pathlib import Path @@ -29,6 +30,7 @@ def main(): jobs_failed.append(job.job_name) print('=================================') + print(time.strftime('%Y-%m-%d %H:%M:%S')) print('= 任务数: {}; 失败数: {}'.format(len(jobs), len(jobs_failed))) if jobs_failed: