Open DaybreakY opened 2 months ago
I think you can still use the task scheduler, you just need to have cron on the system where you are running the binary. Then instead of calling php artisan schedule:run
, you would call ./frankenphp php-cli artisan schedule:run
, if that's what you mean. I haven't tried it myself tough.
Describe you feature request
The laravel docs say "when using Laravel's scheduler, we only need to add a single cron configuration entry to our server that runs the schedule:run command every minute. If you do not know how to add cron entries to your server, consider using a service such as Laravel Forge which can manage the cron entries for you
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
", which relies on cron, but when we build a static binary, does that mean we can't use laravel's task scheduler?