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

janvierma's avatar

Scheduled Tasks by users (Scheduler Or queues )

STACK

Ubuntu 18.04 , Nginx , php-fpm 7.2, Mysql Laravel 5.7

SITUATION

I have a video site where users upload videos which are processed into various things (screenshots, different resolutions,...). I use queues when a video is uploaded and I need to run php artisan queue:work --tries=3 command. I use the database Driver and it works fine.

ISSUE

I would like to remove the "command line" step. That is, automate the whole process so that when a video is uploaded, it's passed to be processed to the queue and processed when the entries before it are done processing. So far, the closest thing I was advised about was to use a sort of dynamic cron job.

Any pointers please?

Thanks

0 likes
1 reply

Please or to participate in this conversation.