Larry Brouwer

... just my personal technology sandbox

  • About
  • Blog
  • Archives
  • Contact

Connect

  • Email
  • Facebook
  • LinkedIn

Powered by Genesis

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

Leave a Reply

You must be logged in to post a comment.

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

Windows Remote Desktop SqlServer eCommerce Linux TomatoCart Azure SmarterMail Port 25 .NET Framework Maytag OpenCart DotNetNuke Windows 7 PrestaShop iframe OfficeLive Live Writer WordPress ASP.Net Outlook 2007 Google Analytics 301 Comcast Blogs Outlook Connector MySQL Yahoo Mail C# SSL Log Parser Tools BlogEngine.Net web.config Security SSMS Magento AWStats PST mstsc.exe SVN CentOS D-Link Neptune Exchange 2010 Spam