diff --git a/cronjobs/payouts.php b/cronjobs/payouts.php index 136cd7b9..95bbbdd6 100755 --- a/cronjobs/payouts.php +++ b/cronjobs/payouts.php @@ -36,6 +36,7 @@ if ($bitcoin->can_connect() !== true) { } if ($setting->getValue('disable_manual_payouts') != 1) { // Fetch outstanding payout requests + $log->logInfo("\tStarting Payments..."); if ($aPayouts = $oPayout->getUnprocessedPayouts()) { if (count($aPayouts) > 0) { $log->logInfo("\tStarting Manual Payments..."); @@ -89,10 +90,10 @@ if ($setting->getValue('disable_manual_payouts') != 1) { } } else if (empty($aPayouts)) { - $log->logInfo("\tNo new manual payout requests."); + $log->logInfo("\tStopping Payments. No Payout Requests Found."); } else { - $log->logFatal("\tFailed Processing Manual Payment Queue..."); + $log->logFatal("\tFailed Processing Manual Payment Queue...Aborting..."); $monitoring->endCronjob($cron_name, 'E0050', 1, true); } if (count($aPayouts > 0)) $log->logDebug(" found " . count($aPayouts) . " queued manual payout requests"); @@ -102,7 +103,7 @@ else { } if ($setting->getValue('disable_auto_payouts') != 1) { // Fetch all users balances - if (!$users = $transaction->getAPQueue()) { + if ($users = $transaction->getAPQueue()) { if (!empty($users)) { if (count($users) > 0) $log->logDebug(" found " . count($users) . " queued payout(s)"); // Go through users and run transactions @@ -148,7 +149,7 @@ if ($setting->getValue('disable_auto_payouts') != 1) { } } else if(empty($users)) { - $log->logInfo("\tNo Auto payments eligible."); + $log->logInfo("\tSkipped payments. No auto payments eligible."); $log->logDebug("Users have not configured their AP > 0"); } else{ diff --git a/cronjobs/pps_payout.php b/cronjobs/pps_payout.php index ab34f8e7..52195a8c 100755 --- a/cronjobs/pps_payout.php +++ b/cronjobs/pps_payout.php @@ -170,7 +170,7 @@ if ($aAllBlocks = $block->getAllUnaccounted('ASC')) { if (!$statistics->updateShareStatistics($aData, $aBlock['id'])) $log->logError("Failed to update statistics for Block " . $aBlock['id'] . "for" . $aData['username'] . ' ERROR: ' . $statistics->getCronError()); } - $log->logInfo("\t\Statistics updated."); + $log->logInfo("\tUser Statistics updated."); // Move shares to archive $log->logInfo("\tBlock: " . $aBlock['id'] . "\t Move shares to archive...");