Compare commits
No commits in common. "b7d32a74e7d35685704f81fa7b5e701b16295de1" and "1106edcb7f23db8f37c55e6ece84894c4899aeab" have entirely different histories.
b7d32a74e7
...
1106edcb7f
@ -18,7 +18,7 @@ class Task2
|
||||
{
|
||||
// 每5秒执行一次
|
||||
new Crontab('0 */1 * * * *', function () {
|
||||
$phones = UserPhone::where('created_at', '<', \Carbon\Carbon::now()->subMinutes(10))->where('status','!=',2)->get();
|
||||
$phones = UserPhone::where('status' ,'!=', 2)->get();
|
||||
$start_time = time();
|
||||
foreach ($phones as $key => $value) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user