Connecting to a server in CRON...
Posted: Mon Oct 01, 2007 1:14 am
Hello guys.
I question... I'm using a cron job to update some caches in our database. To update the cache I use curl to connect to some APIs from 3rd party servers and get data.
We have several such cron job running at the same time (each at its own interval, anyway...).
Is it problematic if those cron connect to the same server in the same time? I mean, can I use HTTP (with the curl library) to connect with the same machine to another same server in the same time? Or will I have a problem?
Thanks!
Ron
I question... I'm using a cron job to update some caches in our database. To update the cache I use curl to connect to some APIs from 3rd party servers and get data.
We have several such cron job running at the same time (each at its own interval, anyway...).
Is it problematic if those cron connect to the same server in the same time? I mean, can I use HTTP (with the curl library) to connect with the same machine to another same server in the same time? Or will I have a problem?
Thanks!
Ron