diff --git a/contrib/crontab.php b/contrib/crontab.php index dd2eb9303..536798a57 100644 --- a/contrib/crontab.php +++ b/contrib/crontab.php @@ -66,7 +66,7 @@ // Create the section $cronJobs[] = $sectionStart; - $cronJobs += $cronJobsLocal; + $cronJobs = [...$cronJobs, ...$cronJobsLocal]; $cronJobs[] = $sectionEnd; writeln("Crontab: Found no section, created the section with configured jobs"); } else {