View Single Post
Old 11-27-2010, 06:57 PM   #1 (permalink)
Schroder
The Wanderer
 
Schroder's Avatar
 
Join Date: Mar 2008
Posts: 20
Thanks: 0
Schroder is on a distinguished road
Default PHP Cron Running Slow

Hello,

I'm running into a peculiar problem with my PHP script. It runs fine when executed from the linux shell, taking up to 30 seconds, however when the cron job system runs the script it times out at 2 mins and is no where near done. I wanted to see if anyone here might know of a general issue before I start diving into this more.

The script itself checks ports and websites to make sure they are up. It uses socket functions, as well as file_get_contents.

Best Wishes,
Justin
Schroder is offline  
Reply With Quote