[FIX] Added more verbose output on failing crons for log
This commit is contained in:
parent
35ab40cbb7
commit
5c8a4ecb73
@ -27,7 +27,7 @@ require_once('shared.inc.php');
|
|||||||
|
|
||||||
// If we don't keep archives, delete some now to release disk space
|
// If we don't keep archives, delete some now to release disk space
|
||||||
if (!$share->purgeArchive()) {
|
if (!$share->purgeArchive()) {
|
||||||
$log->logError("Failed to delete archived shares, not critical but should be checked!");
|
$log->logError("Failed to delete archived shares, not critical but should be checked: " . $share->getCronError());
|
||||||
$monitoring->endCronjob($cron_name, 'E0008', 1, true);
|
$monitoring->endCronjob($cron_name, 'E0008', 1, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user