<?php

use Illuminate\Support\Facades\Schedule;

// This registers the command to run every minute. 
Schedule::command('rss:crawl')->everyMinute()->withoutOverlapping();

// This ensures the queue is processed every minute as a fallback
Schedule::command('queue:work --stop-when-empty')->everyMinute()->withoutOverlapping();