Recommended QUEUE_CONNECTION=database
Open XAMPP and stop Apache. Alternatively you can stop the Apache service in services.msc
services.msc
jobs
Connect to database and check whether table jobs exists. If not run:
php artisan migrate
jobs table migration was added in v2.25.11
QUEUE_CONNECTION=database
.env
Download nssm 2.24-101-g897c7adarrow-up-right and extract it.
Open cmd, navigate where nssm has been extracted and run:
cmd
nssm install weric-queue
Set in Dependencies Tab:
Path C:\xampp\php\php.exe
C:\xampp\php\php.exe
Startup directory C:\weric\api
C:\weric\api
Arguments artisan queue:listen
artisan queue:listen
Set in I/O tab:
Error (stderr) C:\weric\api\storage\logs\queue.log
C:\weric\api\storage\logs\queue.log
Confirm with click on Install service
Install service
Open services.msc and start weric-queue
weric-queue
Open XAMPP and start Apache. Alternatively you can start the Apache service in services.msc
Last updated 26 days ago