Hi all,
I have created a cron job which runs a single PHP file, send.php
This file is meant to be running for about 10 hours. (I use sleep(30) between every task within the file and there are MANY tasks, around 1300)
The thing is I received an email from the Cron Job which mentioned the failure of the Cron AFTER 20-30 minutes of successful running the PHP file.
This is the last part of the email :
I am guessing there is a time limit on running a PHP file from a Cron?Code:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, webmaster @ dailysurveys4u.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> <hr> <address>Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at ---</address> </body></html>
I am at a VPS with WHM and cPanel available.
How can I remove that time limit? (if there is one of course)
thanks



LinkBack URL
About LinkBacks
Reply With Quote





