skip to Main Content

How to check why a Laravel job fails?

I have the following Job: <?php namespace AppJobs; use GuzzleHttpClient; use IlluminateBusQueueable; use IlluminateContractsQueueShouldQueue; use IlluminateFoundationBusDispatchable; use IlluminateQueueInteractsWithQueue; use IlluminateQueueSerializesModels; use IlluminateSupportFacadesDB; class SendSMSJob implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; private $mobile; private $code; private $temp; private $token2;…

VIEW QUESTION

How not to start docker container on system reboot?

I have compose.yml file: api: restart: on-failure command: uvicorn app:app ... jobs: restart: on-failure command: python job.py ... job.py: import asyncio from prometheus_client import start_http_server async def background(sio): await asyncio.gather(...) # <- there are many tasks with while True start_http_server(5000)…

VIEW QUESTION
Back To Top
Search