[RSS Feed/News] Best practice for special cron-jobs

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Here is my job:

We have ten different topics with keywords.
Every day we do a cron job for one of the keywords of every topic.
The keywords are more or less finished, there will be less new ones in future.


Solution I
I add ten option_ fields plus one as counter like

name1

color: red, blue, green

name2
size: s, m, l, xl

name3
animals: cats, dogs, birds
...

counter starts with 1


now we do ten times the cron in a day:

1. Fetch counter; => 1
2...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom