Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

araubach's avatar

How to run artisan queue:work on a PHP script

The shared hosting where I hosted my website just permits schedulling cron jobs pointing to scripts with the .php extension. I need to schedule the "php artisan queue:work" in the server. So, how can I make a PHP script that executes this??

PS: I know, the most correct approach is to configure Supervisor, but it will require privileges that I only would have if a pay a VPS to host the website.

0 likes
0 replies

Please or to participate in this conversation.