• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Best practice for special cron-jobs

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
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
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا