Welcome Guest, Not a member yet? Register   Sign In
Run a big process
#2

[eluser]obiron2[/eluser]
I would store the list of feeds in a database table with the last time they were pinged

I would set up the cron job to find the oldest X feeds where the time stamp is < 60 minutes and to ping them in sequence and then update the date time.

If the select statement returns no records, then the cron job doesn't need to run.

You can them play around with the timing of the cron job and the number of records to be returned to determine a suitable load on the server.


Messages In This Thread
Run a big process - by El Forum - 02-10-2009, 01:55 PM
Run a big process - by El Forum - 02-11-2009, 07:59 AM
Run a big process - by El Forum - 02-11-2009, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB