How to set redis queue environment

2 years ago

Please tell me where I can run the php artisan queue command in my project repository.

Closed

8 Replies

2 years ago

You would need to deploy a duplicate service and then set that as the start command.


2 years ago

please give a correct command. and it is my php artisan queue:work redis --queue=default --sleep=3 --tries=3 --no-interaction --daemon.


2 years ago

I recommend you familiarize yourself with artisan and the other technologies you are trying to use.


2 years ago

I try to work wit queue. now my site down https://smsgo-sms-gateways-production.up.railway.app/


2 years ago

I'm not getting any errors?


2 years ago

https://smsgo-sms-gateways-production.up.railway.app. The queue job service is not working. please tell where I can run it well.


2 years ago

I'm sorry but "not working" is unfortunately not helpful, please provide proper errors.


2 years ago

3. Set Up Queue Workers

  1. Add a Worker Plugin:

    • In Railway, go to the "Plugins" tab.

    • Click on "Add Plugin" and select the "Worker" plugin.

  2. Configure the Worker:

    • Name your worker (e.g., queue-worker).

    • Set the command to start the queue worker: please where I can add mew plugin


Status changed to Closed brody over 1 year ago


Loading...