spatie/laravel-short-schedule
Schedule Laravel Artisan commands at sub-minute intervals (every second or even fractions). Define short schedules via ShortSchedule facade or Console Kernel. Note: Laravel now supports sub-minute scheduling, so this package is largely unnecessary.
Adopt this package if:
between()), environment-specific runs (environments()), or conditional execution (when()).withoutOverlapping()) or single-server execution (onOneServer()).Look elsewhere if:
--lifetime flag, but frequent restarts may impact performance).spatie/laravel-queue-lock).*"This package lets us automate critical, time-sensitive tasks—like real-time data processing or high-frequency trading—at sub-second intervals, which is impossible with standard Laravel scheduling. For example, we could:
Ask: "Which of our products or services would benefit from sub-second automation? (e.g., live dashboards, IoT, fintech, gaming?) Let’s prioritize those."
*"This package solves a gap in Laravel’s scheduler: sub-minute execution for Artisan commands. Here’s why it’s worth adopting:
--lifetime, and supports constraints (time windows, environments, etc.).everySecond(), everySeconds(0.5), etc. Supports shell commands, events, and testing.withoutOverlapping() and onOneServer() for safety.runInMaintenanceMode()).Trade-offs:
--lifetime flag).Proposal:
short-schedule:run process.Alternatives:
Ask: "Which of our time-sensitive workflows could benefit from this? Let’s pick one to prototype."
How can I help you explore Laravel packages today?