mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
bug fix backupSchedule.py
This commit is contained in:
@@ -83,6 +83,13 @@ class backupSchedule:
|
|||||||
except:
|
except:
|
||||||
fileName = "Fetching.."
|
fileName = "Fetching.."
|
||||||
|
|
||||||
|
ifRunning = ProcessUtilities.outputExecutioner('ps aux')
|
||||||
|
|
||||||
|
if (ifRunning.find('startBackup') > -1 or ifRunning.find('BackupRoot') > -1) and ifRunning.find('/%s/' % (backupDomain)):
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
return 0, 'Backup process killed without reporting any error.'
|
||||||
|
|
||||||
## file name read ends
|
## file name read ends
|
||||||
|
|
||||||
if os.path.exists(status):
|
if os.path.exists(status):
|
||||||
|
|||||||
Reference in New Issue
Block a user