Search found 4 matches

by mdiazrub
Wed Nov 30, 2005 6:48 am
Forum: PHP - Code
Topic: CRON JOBS: Syncronize thousand feeds
Replies: 7
Views: 415

I dont understand you.

If I create for example 4 diferent cron jobs (one for each segment) I can´t know which portion of the blog table runs each one.

Explain it a little more plzz

Thks
by mdiazrub
Wed Nov 30, 2005 6:21 am
Forum: PHP - Code
Topic: CRON JOBS: Syncronize thousand feeds
Replies: 7
Views: 415

Maybe i can make a QUERY to database and get all blogs, then put them in an array.

Then split the array in N portions.

But, Can I throw diferent threads of the sync script from the php i execute as cron job? How?

Thanks a lot
by mdiazrub
Wed Nov 30, 2005 6:06 am
Forum: PHP - Code
Topic: CRON JOBS: Syncronize thousand feeds
Replies: 7
Views: 415

I think the problem is that i retrieve 1400 xml files from the internet one by one, this cost the 20 minutes, cause the queries are very simple.

How can separate blogs in diferent procesess?
by mdiazrub
Wed Nov 30, 2005 5:18 am
Forum: PHP - Code
Topic: CRON JOBS: Syncronize thousand feeds
Replies: 7
Views: 415

CRON JOBS: Syncronize thousand feeds

Hi All, I´m trying to implement a blog reader here in Spain (like bloglines.com). My problem is the process I use to update news from the diferent blog feeds (actually 1400). This process is a Cron Job at server. My problem is that the process takes more than twenty minutes to finish, and it grows a...