spatie / laravel-short-schedule

Schedule artisan commands to run at a sub-minute frequency
https://freek.dev/1683-a-package-to-schedule-artisan-commands-at-sub-minute-frequencies
MIT License
611 stars 52 forks source link

Feature request: #45

Closed jberculo closed 3 years ago

jberculo commented 3 years ago

Thank you for your package! Everything is working fine, but it would be nice to have the possibility to have an offset. I now have multiple processes running every ten seconds, which cause them to start at the same time, while this is not necessary.

Something like $shortSchedule->command('some-artisan-command')->everySeconds(10)->offsetSeconds(5); would be a great addition I think.