mirror of
				https://gitlab.sectorq.eu/jaydee/omv_backup.git
				synced 2025-10-30 10:01:11 +01:00 
			
		
		
		
	lala
This commit is contained in:
		| @@ -386,11 +386,7 @@ if _BACKUP: | |||||||
|  |  | ||||||
|                         #status, output = subprocess.getstatusoutput(cmnd) |                         #status, output = subprocess.getstatusoutput(cmnd) | ||||||
|                         proc = subprocess.Popen(cmnd,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE,cwd = "/myapps/",shell=True) |                         proc = subprocess.Popen(cmnd,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE,cwd = "/myapps/",shell=True) | ||||||
|                         time.sleep(10) |  | ||||||
|                         while True: |  | ||||||
|                             outs, errs = proc.communicate() |  | ||||||
|                             print(outs) |  | ||||||
|                             time.sleep(10) |  | ||||||
|                     cmnd = f"rm -rf {FULL_BACKUP_LATEST}" |                     cmnd = f"rm -rf {FULL_BACKUP_LATEST}" | ||||||
|                      |                      | ||||||
|                     print(cmnd) |                     print(cmnd) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user