<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto"><br>
</div>
<div id="mail-editor-reference-message-container" dir="auto">
<div dir="auto">
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Have fixed that by amending:<br>
<br>
        $self->error("Cannot delete: $DBI:errstr") if $DBI::err;<br>
<br>
To</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
        if ($dbh->err) {</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
            $self->error("Cannot delete: " . $dbh->errstr);</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
            last;</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
        }</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
 </p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
 </p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Which now allows cleanup to run, but new problem:</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
 </p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Failed to insert into monthly table cdr_group_202204: you have an error in your sql syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near `` at line 5 at  /usr/share/per5/NGCP/<a href="http://cleanup.pm/" class="ms-outlook-linkify" style="color: rgb(0, 134, 240);">Cleanup.pm</a><span> </span>line
 519.</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</p>
<p style="font-size: 11pt; font-family: Aptos, sans-serif; margin: 0px; line-height: 1.5; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I assume this is all a bug.</p>
<br>
</div>
<div dir="auto">
<div><br>
</div>
</div>
<div id="ms-outlook-mobile-signature" dir="auto">Regards,</div>
<div id="ms-outlook-mobile-signature" dir="auto"><br>
</div>
<div id="ms-outlook-mobile-signature" dir="auto">Adam</div>
<div id="mail-editor-reference-message-container" dir="auto">
<div class="WordSection1" dir="auto">
<p class="MsoNormal" style="margin:0cm; font-size:11pt; font-family:Aptos,sans-serif">
 </p>
</div>
<br>
</div>
<br>
</div>
</body>
</html>