Quantcast
Channel: Expire for Laravel Jobs - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Desh901 for Expire for Laravel Jobs

As far a i know it is not possible to set explicitly a Job expiration into Laravel queues. A solution could be setting an expires_at property within your ParseJob and check before executing: class...

View Article



Expire for Laravel Jobs

I parse some HTML pages and API endpoints, for example, every 5 minutes to track changes. For this purpose, I have created ParseJob where I do parsing and save changes to a database. ParseJob...

View Article

Answer by abkrim for Expire for Laravel Jobs

At larvel 8/9 in jobMyJObClasspublic function retryUntil(): Carbon{ return now()->addMinutes(10);}Laravel :: Queues #time-based-attempts

View Article
Browsing all 3 articles
Browse latest View live




Latest Images