Skip to content

Commit 7eef01d

Browse files
authored
Ignore output from cron execution (#26)
Some processing in the cron task occasionaly produce output that result in an e-mail being sent. On our fleet, it happens less than 1 time a day, and only contain 1 or more of the following line: ``` libpng warning: iCCP: known incorrect sRGB profile ``` These warning are not actionable, so we can probably just ignore them.
2 parents bfbb5fa + ade1602 commit 7eef01d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/base.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828

2929
cron { 'nextcloud-cron':
30-
command => "/usr/bin/php -f ${nextcloud::current_version_dir}/cron.php",
30+
command => "/usr/bin/php -f ${nextcloud::current_version_dir}/cron.php > /dev/null 2>&1",
3131
user => $nextcloud::user,
3232
minute => '*/15',
3333
}

0 commit comments

Comments
 (0)