From a0a21e22a33860356d94bb14b67ecd37673bd1b8 Mon Sep 17 00:00:00 2001 From: ioanok Date: Tue, 21 Nov 2023 17:31:14 +0200 Subject: [PATCH] contrib: fix creating cron jobs first time --- contrib/crontab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {