N°4227 / N°4225 - Fix cron backup

This commit is contained in:
Eric Espie
2021-09-07 10:47:26 +02:00
parent 8e0ae67803
commit 615aa594f0

View File

@@ -2016,7 +2016,10 @@ JS
$bPreviousMode = self::IsInReadOnlyMode();
@touch(READONLY_MODE_FILE);
self::Log("----> Entering read only mode");
self::WaitCronTermination($oConfig, "read only");
if (!ContextTag::Check(ContextTag::TAG_CRON)) {
self::WaitCronTermination($oConfig, "read only");
}
return $bPreviousMode;
}