adding timestamp file
This commit is contained in:
parent
4640030373
commit
2d0e15f811
@ -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__':
|
||||||
|
Loading…
Reference in New Issue
Block a user