title: Magento Cron Job Error - Invalid Callback
body: <p>Im having some issues getting a cron job to work within Magentos cron system.</p>
  
  <p>My module folder structure is as follows:</p>
  
  <p>/app/code/local/Nnn/AbandonedCartEmails/etc/config.xml<br>
  /app/code/local/Nnn/AbandonedCartEmails/Model/Observer.php</p>
  
  <p>My config xml is as follows:</p>
  
  <pre><code>&lt;config&gt; 
  
  &lt;!-- 
      The module's node contains basic 
      information about each Magento module
  --&gt;
  &lt;modules&gt;
      &lt;!--
          This must exactly match the namespace and module's folder
          names, with directory separators replaced by underscores
      --&gt;
      &lt;Nnn_AbandonedCartEmails&gt;
  
          &lt;!-- The version of our module, starting at 0.0.1 --&gt;
          &lt;version&gt;0.0.1&lt;/version&gt;
  
      &lt;/Nnn_AbandonedCartEmails&gt;
  &lt;/modules&gt;
  
  &lt;global&gt;
      &lt;!-- Defining models --&gt;
      &lt;models&gt;
  
          &lt;!--
              Unique identifier in the model's node.
              By convention, we put the module's name in lowercase.
          --&gt;
          &lt;nnn_abandonedcartemails&gt;
  
              &lt;!--
                  The path to our models directory, with directory
                  separators replaced by underscores
              --&gt;
              &lt;class&gt;Nnn_AbandonedCartEmails_Model&lt;/class&gt;
  
          &lt;/nnn_abandonedcartemails&gt;
  
      &lt;/models&gt;
  &lt;/global&gt;
  
  &lt;crontab&gt;
      &lt;jobs&gt;
          &lt;nnn_abandonedcartemails&gt;
              &lt;schedule&gt;
                  &lt;cron_expr&gt;*/5 * * * *&lt;/cron_expr&gt;
              &lt;/schedule&gt;
              &lt;run&gt;
                  &lt;model&gt;abandonedcartemails/observer::processEmails&lt;/model&gt;
              &lt;/run&gt;
          &lt;/nnn_abandonedcartemails&gt;
      &lt;/jobs&gt;
  &lt;/crontab&gt;
  </code></pre>
  
  <p></p>
  
  <p>My observer class looks like this:</p>
  
  <pre><code>class Nnn_AbandonedCartEmails_Model_Observer 
  {
      public function processEmails()
      {
  
           /***/
  </code></pre>
  
  <p>So the cron job is registering and is added to the cron_schedule table, however whenever it attempts to execute it produces and error along the lines of </p>
  
  <pre><code>exception 'Mage_Core_Exception' with message 'Invalid callback: abandonedcartemails/observer::processEmails does not exist' in /pathtosite/www/app/Mage.php:594
  </code></pre>
  
  <p>So it looks like I have a config issue, but I cant seem to see where the problem lies. The namespacing and naming conventions in Magento's xml files are quite frustrating to work with, so hopefully a fresh pair of eyes can see where I have made the mistake.</p>
  
  <p>Any help always appreciated.</p>
  
  <p>Thanks </p>