Browse Source

workaround on daily schedule

andre 3 years ago
parent
commit
8657168106
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/UI/BackupJob/Pages/BackupJobDataTable.php

+ 5 - 0
app/UI/BackupJob/Pages/BackupJobDataTable.php

@@ -108,6 +108,11 @@ class BackupJobDataTable extends DataTable implements ClientArea
         foreach ($scheduleRepository->fetch() as $job)
         {
             $row                     = $job->getAttributes();
+            //workarround on daily schedule
+            if ($row['starttime'] == "") {
+                $row['starttime'] = $this->data['dow'][0];
+                $row['days'] = ["mon","tue","wed","thu","fri","sat","sun"];
+            }
             logModuleCall(
                 'proxmoxCloud',
                 __FUNCTION__,