L

Cron Job

  • Thread starter Thread starter Lee
  • Start date Start date

Visitor Greeting

Welcome to NullWarehouse.com... We are currently seeking Mod's and Contributors. If you wish to apply for a Mod position then please click on Members dropdown arrow, then click on Staff App and fill it out completely and submit it. If you want to be a Contributor then start contributing and we will have our eye on you and take notice, something great could come of it.

  • We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
L

Lee

Guest

I'm not sure if I have approached this correctly, or if anybody can think of a better, more efficient way to do this.

I have a cron that selects x amount of threads based on the total amount of replies.

If the replies are greater than an option defined number, then I add them to a table to be processed.

These threads are then then sent to a third party API to be evaluated. At the moment there is one API call per thread. I have used the job system to "Enqueue" the x amount of tasks. Once...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top Bottom