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

AWStats C# Blogs Log Parser SSL 301 Comcast WordPress Security SVN web.config Yahoo Mail CentOS OfficeLive MySQL PHP clumping bamboo ASP.Net Visual Studio Magento Linux Live Writer eCommerce mstsc.exe Silverlight SMTP IIS7 Google Analytics Tools Database Mail Windows Remote Desktop Windows 7 redirect SSMS BlogEngine.Net SBS2011 Maytag PST iframe TomatoCart PrestaShop DotNetNuke Port 25 Spam SqlServer