title: (PHP-Yii-UserGroups) Cron Job executing without stop
body: <p>So, I have a cron job with the following code:</p>
  
  <pre><code>class UGCJReminder extends UGCronJob {
  /**
   * return the cron description
   */
  protected function getDescription()
  {
      return Yii::t('userGroupsModule.cron', 'manda email para os usuarios cadastrados para cadastrar suas atividades');
  }
  
  /**
   * return the cron table model name
   */
  protected function getCronTable()
  {
      return 'UserGroupsCron';
  }
  
  /**
   * return the cron name
   */
  protected function getName()
  {
      return 'reminder';
  }
  
  /**
   * returns the number of days that have to pass before performing this cron job
   */
  protected function getLapse()
  {
      return 1;
  }
  
  /**
   * return the model
   */
  protected function getModel()
  {
      return new UserGroupsUser;
  }
  
  /**
   * return the action method
   */
  protected function getAction()
  {
          Yii::import('ext.yii-mail.YiiMailMessage');
          $message = new YiiMailMessage;
          $message-&gt;setBody('Message', 'text/html');
          $message-&gt;subject = 'Lembrete';
          $message-&gt;addTo('my-email');
          $message-&gt;from = Yii::app()-&gt;params['adminEmail'];
          return Yii::app()-&gt;mail-&gt;send($message);
  }
  
  /**
   * return the action criteria
   */
  protected function getCriteria()
  {
              return new CDbCriteria;
  }
  
  /**
   * return the interested database fields
   */
  protected function getColumns()
   {
          return array('email' =&gt; UserGroupsUser::ACTIVE);
          #return NULL;
   }
  }
  </code></pre>
  
  <p>I do all the other changes on documentation that UserGroups (Yii module) asks, and the cron list says my cron is installed and running. However, it runs multiple times a day, where it should only run once per day. So what I'm doing wrong?</p>
  
  <p>I would also accept another solution for this problem (sending a email on a determined time per day). Please consider that I'm using Yii and as such would like a way of doing this inside the framework (with extensions for example)</p>
  
  <p>PS: If you know good documentation sources (since Usergroups, Cron-tab and Yii itself isn't that strong on documenting how all this works) about all this I would still be interested on that</p>