mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-09 14:56:10 +01:00
add some logging to contine killed job
This commit is contained in:
@@ -369,7 +369,6 @@ class IncScheduler():
|
||||
|
||||
if destinationConfig['type'] == 'local':
|
||||
|
||||
|
||||
finalPath = '%s/%s' % (destinationConfig['path'].rstrip('/'), currentTime)
|
||||
command = 'mkdir -p %s' % (finalPath)
|
||||
ProcessUtilities.executioner(command)
|
||||
@@ -401,6 +400,9 @@ class IncScheduler():
|
||||
NormalBackupJobLogs(owner=backupjob, status=backupSchedule.INFO,
|
||||
message='Starting %s backup on %s..' % (type, time.strftime("%m.%d.%Y_%H-%M-%S"))).save()
|
||||
|
||||
if oldJobContinue:
|
||||
NormalBackupJobLogs(owner=backupjob, status=backupSchedule.INFO, message='Will continue old killed job starting from %s.' % (stuckDomain)).save()
|
||||
|
||||
actualDomain = 0
|
||||
try:
|
||||
if jobConfig[IncScheduler.allSites] == 'all':
|
||||
|
||||
Reference in New Issue
Block a user