command('prices:tick-loop --iterations=6 --interval=10') ->everyMinute() ->name('prices_tick_10s') ->withoutOverlapping(58); $schedule->command('prices:refresh-zaarbox') ->everyThirtyMinutes() ->name('refresh_zaarbox_prices') ->withoutOverlapping(); // پاک‌سازی و downsample تاریخچه — ساعت ۱۲ شب $schedule->command('prices:prune') ->dailyAt('00:00') ->name('prune_price_snapshots'); // ترمیم اسناد ریالی جاافتادهٔ پرگار (واریز/برداشت بدون لاگ) تا مانده قفل نماند $schedule->command('pargar:requeue-wallet-documents --execute --days=120') ->hourly() ->name('pargar_requeue_wallet_docs') ->withoutOverlapping(50); } protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }