changed to 25 days for deleting files as backups now are generated simply 3 times per month
This commit is contained in:
parent
61028dae8a
commit
f3cccbc7fc
@ -194,7 +194,7 @@ class sftp_remote:
|
|||||||
continue
|
continue
|
||||||
utime = self.sftp.stat(pathfile).st_mtime
|
utime = self.sftp.stat(pathfile).st_mtime
|
||||||
last_modified = datetime.fromtimestamp(utime)
|
last_modified = datetime.fromtimestamp(utime)
|
||||||
self.delete_file(last_modified, pathfile, 8)
|
self.delete_file(last_modified, pathfile, 25)
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
|
|
||||||
def delete_remote_zip_temp(self, zipname):
|
def delete_remote_zip_temp(self, zipname):
|
||||||
|
Loading…
Reference in New Issue
Block a user