mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-05 03:40:48 +01:00
bug fix: do not initiate site backup if space is full
This commit is contained in:
@@ -75,10 +75,6 @@ class IncScheduler(multi.Thread):
|
||||
### now run backups
|
||||
for web in job.jobsites_set.all():
|
||||
|
||||
### Lets first update disk usage of all sites, to see if enough space for backups
|
||||
|
||||
IncScheduler.CalculateAndUpdateDiskUsage()
|
||||
|
||||
logging.statusWriter(IncScheduler.logPath, 'Backing up %s.' % (web.website), 1)
|
||||
|
||||
extraArgs = {}
|
||||
|
||||
Reference in New Issue
Block a user