Skip to content

Commit

Permalink
contrib: fix creating cron jobs first time
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanok authored Nov 21, 2023
1 parent 94b1bcb commit a0a21e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/crontab.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a0a21e2

Please sign in to comment.