email - Magento cron.php appears to be running hundreds of times -


to test cron placed simple mail() call in head of cron.php. set cron run every 5 minutes , expecting receive 1 email every 5 minutes. received hundreds of emails when runs (300+).

i'm running magento 1.9.1.0 , on previous versions never happened (just 1 email each time cron ran)

cron setup through cpanel: */5 * * * * , i'm confident not running multiple times itself. (i have tested simple php file 1 mail call)

anyone seen before? easiest fix remove mail call i'm worried cron.php being called , effect server.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -