#Magento php 5.2 how to
I have always been able to figure out how to do something, one way or another. I really feel like I don't have a handle on this and don't know what to do at this point. I have tried leaving the "Magento Cron (Scheduled Tasks) - all the times are in minutes" - on the default settings of 15,20,15,10,60,600 and I have tried settings recommended in other posts like 60,1,60,120,120,120 and 15,60,60, 120, 120, 3000. Once I use Cron Doctor to delete all of the Magento jobs, it goes around to the next 5 minutes and I get a clean Cron Daemon email that just says "Content type: text/html" - with no new errors in error_log, and the jobs start running again, same ones, and then repeats getting stuck like above. And in my error_log I get this: "-Jan-2016 00:10:02] PHP Parse error: syntax error, unexpected T_FUNCTION in /MyDomainSpecifics/public_html/app/code/core/Mage/Core/Helper/Abstract.php on line 240" Once this happens, I get an email from Cron Daemon saying "Status 500 Internal Server Error Content type: text/html" every 5 minutes. they launch and I get through a couple and then it gets "stuck" - so far every time on "Captcha Delete Expired Images". I gave up on it and got Cron Doctor for now. I spent a long time trying to work with AoeScheduler but couldn't ever get it to successfully produce a heartbeat task and all jobs always stayed pending.
*/5 * * * * /bin/sh /MyDomainUserName/public_html/cron.sh After going back and forth with the hosting company and trying different methods, this at least seems to be correctly launching the Magento CronJobs. I have Bluehost for a hosting company with a shared server, so no direct command line root access as far as I know, just Cpanel. I have no experience with Cron Jobs until now, so there has been a steep learning curve so far. Essentially I can't get the Magento CronJobs to function correctly. I have honestly tried so many different things and configurations, I don't remember all of them anymore. I have spent about two weeks on and off trying to figure this out.