mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
v1.8.9
This commit is contained in:
@@ -675,6 +675,9 @@ class BackupManager:
|
||||
command = "mv " + tempCronPath + " " + path
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'chown root:root %s' % (path)
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = "systemctl restart crond"
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
@@ -707,6 +710,9 @@ class BackupManager:
|
||||
command = "sudo mv " + tempCronPath + " " + path
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = 'chown root:root %s' % (path)
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = "sudo systemctl restart crond"
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
@@ -762,8 +768,10 @@ class BackupManager:
|
||||
command = "sudo mv " + tempCronPath + " " + path
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = "sudo systemctl restart crond"
|
||||
command = 'chown root:root %s' % (path)
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
command = "sudo systemctl restart crond"
|
||||
ProcessUtilities.executioner(command)
|
||||
|
||||
destination = dest.objects.get(destLoc=backupDest)
|
||||
|
||||
Reference in New Issue
Block a user