From 906d4c7ac7fb77bdc2b926d77de73504cb452c53 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 16 May 2019 13:41:56 -0300 Subject: Record download date --- ckandumper | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ckandumper b/ckandumper index 7502afc..0ec60d5 100755 --- a/ckandumper +++ b/ckandumper @@ -19,6 +19,7 @@ # along with this program. If not, see . # Dependencies +import datetime import asyncio import argparse import sys, os, json @@ -88,6 +89,10 @@ class DownloadMultiple: output.write(str(proc.returncode) + '\n') output.close() + output = open(local_filename + '.date', 'w') + output.write(str(datetime.datetime.now()) + '\n') + output.close() + if not str(proc.returncode) in self.globalstats['exitstatus']: self.globalstats['exitstatus'][str(proc.returncode)] = [] -- cgit v1.2.3