1
0
Fork 0

linos虫情同步,每小时执行一次

main
Jing Li 2023-08-10 15:18:38 +08:00
parent 8fbb3d22d8
commit acebcf56de
2 changed files with 1 additions and 2 deletions

View File

@ -6,9 +6,7 @@ use App\Iot\Linkos\FarmClient;
use App\Models\Device;
use App\Models\FarmWormPhoto;
use App\Models\FarmWormReport;
use Carbon\Carbon;
use Illuminate\Console\Command;
use Illuminate\Database\Eloquent\Collection;
use Throwable;
class LinkosFarmSyncCommand extends Command

View File

@ -17,6 +17,7 @@ class Kernel extends ConsoleKernel
{
// $schedule->command('inspire')->hourly();
$schedule->command('mqtt:penwu-plan')->everyMinute();//每分钟执行
$schedule->command('linkos-farm:sync')->hourly();
}
/**