mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 13:33:57 +00:00
update logging
This commit is contained in:
@@ -49,7 +49,7 @@ class UpdateGroupWithTransferFee extends Command
|
||||
ini_set('max_execution_time', 0);
|
||||
set_time_limit(0);
|
||||
$groups = Group::whereDate('updated_at', '<', Carbon::now())->get();
|
||||
Log::info($groups->count());
|
||||
$this->info($groups->count());
|
||||
|
||||
// $groups = Group::where('id', 999)->get();
|
||||
|
||||
@@ -65,10 +65,11 @@ class UpdateGroupWithTransferFee extends Command
|
||||
// $group->original_amount = $correctOriginalAmount;
|
||||
// $group->amount = $correctAmount;
|
||||
// $group->save();
|
||||
Log::info("Update group id: " . $group->id . " correct original amount is: " . $correctOriginalAmount . " transfer fee is " . $originalTransferFees);
|
||||
$this->info("Update group id: " . $group->id . " correct original amount is: " . $correctOriginalAmount . " transfer fee is " . $originalTransferFees);
|
||||
} else {
|
||||
Log::info("No update for group id: " . $group->id);
|
||||
$this->info("No update for group id: " . $group->id);
|
||||
}
|
||||
}
|
||||
$this->info(Carbon::now() . ' : ' . 'updateGroupWithTransferFee ------ completed');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user