protected function loadCronBatch(\Gems_Task_TaskRunnerBatch $batch)
    {
       $batch->addMessage(sprintf($this->_("Starting %s mail jobs"), $this->project->getName()));
       $batch->addTask('Mail\\AddAllMailJobsTask');

        // Check for unprocessed tokens, 
       $tracker = $this->loader->getTracker();
       $tracker->loadCompletedTokensBatch($batch, null, $this->currentUser->getUserId());
   }
protected function loadCronBatch(\Gems_Task_TaskRunnerBatch $batch)
    {
       $batch->addMessage(sprintf($this->_("Starting %s mail jobs"), $this->project->getName()));
       $batch->addTask('Mail\\AddAllMailJobsTask');

        // Check for unprocessed tokens, 
       $tracker = $this->loader->getTracker();
       $tracker->loadCompletedTokensBatch($batch, null, $this->currentUser->getUserId());
   }
protected function loadCronBatch ( \ Gems_Task_TaskRunnerBatch $ batch ) { $ batch -> addMessage ( sprintf ( $ this -> _ ( "Starting %s mail jobs" ) , $ this -> project -> getName ( ) ) ) ; $ batch -> addTask ( 'Mail\\AddAllMailJobsTask' ) ; // Check for unprocessed tokens,  $ tracker = $ this -> loader -> getTracker ( ) ; $ tracker -> loadCompletedTokensBatch ( $ batch , null , $ this -> currentUser -> getUserId ( ) ) ; }
Perform the actions and load the tasks needed to start the cron batch

@param \Gems_Task_TaskRunnerBatch $batch
Perform the actions and load the tasks needed to start the cron batch