more work on backup-storages

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-06-08 11:56:58 +02:00
parent c3205d3672
commit ddcd55a83d
9 changed files with 165 additions and 84 deletions

View File

@@ -46,7 +46,9 @@ class ExportCron extends FroxlorCron
");
$all_jobs = $result_tasks_stmt->fetchAll();
self::runFork([self::class, 'handle'], $all_jobs);
if (!empty($all_jobs)) {
self::runFork([self::class, 'handle'], $all_jobs);
}
}
public static function handle(array $row)