Larry Brouwer

... just my personal technology sandbox

  • About
  • Blog
  • Archives
  • Contact

Connect

  • Email
  • Facebook
  • LinkedIn

Powered by Genesis

Archives for November 2015

AOE Scheduler 1.3.0 cron issue with Magento 1.9.2.2

November 23, 2015 By Larry Brouwer Leave a Comment

I recently upgraded a client’s Magento environment from 1.9.2.1 to 1.9.2.2 and I ran into some issues with the cron process. After reading a few posts with other people having similar issues, here, here, here, I decided to implement AOE Scheduler  (also available on GitHub, here) as this plugin gives me more visibility to what jobs are being processed, and additionally more flexibility, and control of the cron process. I was also hoping that my cron issues would be solved with this plugin! After installation, I followed the instructions for adding the AOE jobs to cron, but I still couldn’t get anything to work. After some quick debugging, I discovered that the jobs would run from the command line, but not from cron. The jobs I created are as per instructions below:

 

image

 

The error messages being generated from cron immediately lead me to the cause and its location. The problem was on line 3 of \shell\scheduler.php:

require_once dirname($_SERVER[‘SCRIPT_NAME’]) . DIRECTORY_SEPARATOR . ‘abstract.php’;

The fix that worked for me was:

require_once(dirname(__FILE__). DIRECTORY_SEPARATOR . “abstract.php”);

I hope this might help someone else!

Filed Under: Notable Tagged With: Magento

Recent Posts

  • Weaver’s Bamboo “Bambusa textilis” clumping bamboo for sale
  • configuring NTP Service on FreeNas, XenServer, and virtualized Windows Server 2012 R2 Domain Controller
  • CentOS 7 Warning: Your Magento folder does not have sufficient write permissions.
  • AOE Scheduler 1.3.0 cron issue with Magento 1.9.2.2

Tag cloud

Spam PHP Log Parser Magento Visual Studio TomatoCart Tools Google Analytics DotNetNuke D-Link eCommerce Windows Remote Desktop AWStats SmarterMail Database Mail PST Neptune Windows 7 SMTP Silverlight .NET Framework Outlook 2007 PrestaShop BlogEngine.Net redirect IIS7 SSMS MySQL Linux Port 25 OfficeLive iframe Exchange 2010 301 C# clumping bamboo Yahoo Mail Live Writer Blogs DIR-655 Comcast ASP.Net SqlServer Scanpst.exe OpenCart