adding timestamp file

This commit is contained in:
brent s 2018-05-05 06:51:23 -04:00
parent 4640030373
commit 2d0e15f811

View File

@ -364,6 +364,8 @@ def main():
with open(args['logfile'], 'a') as f: with open(args['logfile'], 'a') as f:
f.write('===== {0} DONE =====\n'.format( f.write('===== {0} DONE =====\n'.format(
str(datetime.datetime.utcnow()))) str(datetime.datetime.utcnow())))
with open(os.path.join(args['destdir'], 'LAST_COMPLETED_DUMP'), 'w') as f:
f.write(str(datetime.datetime.utcnow()))




if __name__ == '__main__': if __name__ == '__main__':