feat(schedule): add schedule:bootstrap and minute-precise automation runs
Install per-module schedule:run cron from artisan, store sms/in_app send minutes, and match scheduled triggers at exact HH:mm Tehran time. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -15,6 +15,7 @@ class Kernel extends ConsoleKernel
|
||||
{
|
||||
// تیک قیمت — ۶ بار در دقیقه با فاصله ۱۰ ثانیه (montzar + zaarbox + محصولات)
|
||||
// نیاز: * * * * * php artisan schedule:run
|
||||
// یا یکبار: php artisan schedule:bootstrap
|
||||
$schedule->command('prices:tick-loop --iterations=6 --interval=10')
|
||||
->everyMinute()
|
||||
->name('prices_tick_10s')
|
||||
|
||||
Reference in New Issue
Block a user