diff --git a/cronjobs/auto_payout.php b/cronjobs/auto_payout.php index c55cc913..548e5de8 100755 --- a/cronjobs/auto_payout.php +++ b/cronjobs/auto_payout.php @@ -23,7 +23,7 @@ limitations under the License. require_once('shared.inc.php'); if ($bitcoin->can_connect() !== true) { - $log->logFatal(" unable to connect to RPC server, exiting\n"); + $log->logFatal(" unable to connect to RPC server, exiting"); $monitoring->setStatus($cron_name . "_active", "yesno", 0); $monitoring->setStatus($cron_name . "_message", "message", "Unable to connect to RPC server"); $monitoring->setStatus($cron_name . "_status", "okerror", 1); @@ -34,7 +34,7 @@ if ($bitcoin->can_connect() !== true) { $users = $user->getAllAutoPayout(); // Quick summary -$log->logInfo(" found " . count($users) . " queued payout(s)\n"); +$log->logInfo(" found " . count($users) . " queued payout(s)"); // Go through users and run transactions if (! empty($users)) { @@ -77,7 +77,7 @@ if (! empty($users)) { } } } else { - $log->logDebug(" no user has configured their AP > 0\n"); + $log->logDebug(" no user has configured their AP > 0"); } // Cron cleanup and monitoring