@@ -34,8 +34,8 @@ |
||
34 | 34 | // $schedule->command('inspire') |
35 | 35 | // ->hourly(); |
36 | 36 | |
37 | - if (substr( Carbon::now(), 0, 10 ) === $this->date){ |
|
38 | - $schedule->call(function () { |
|
37 | + if (substr(Carbon::now(), 0, 10) === $this->date) { |
|
38 | + $schedule->call(function() { |
|
39 | 39 | Mail::to('[email protected]')->send(new HelloUser()); |
40 | 40 | })->at('08:00'); |
41 | 41 | } |