Skip to content

Commit

Permalink
Silence cron
Browse files Browse the repository at this point in the history
  • Loading branch information
Commifreak committed Apr 21, 2023
1 parent c94c083 commit 66f3bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/ABSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function checkCron() {
}

if (!empty($cronSettings)) {
$cronSettings .= ' php ' . dirname(__DIR__) . '/scripts/backup.php';
$cronSettings .= ' php ' . dirname(__DIR__) . '/scripts/backup.php > /dev/null 2>&1';
file_put_contents(ABSettings::$cronFile, $cronSettings);

// Restart dcron, that forces a re-read of /etc/cron.d. Otherwise, we have to wait one hour, because dcron read cron.d files once an hour.
Expand Down

0 comments on commit 66f3bb9

Please sign in to comment.