Model/Cron.php
public function emailImporter()
    {
        if ($this->jobHasAlreadyBeenRun('ddg_automation_importer')) {
            $this->helper->log('Skipping ddg_automation_importer job run');
            return;
        }

        $this->importerFactory->create()->processQueue();
    }
public function emailImporter()
    {
        if ($this->jobHasAlreadyBeenRun('ddg_automation_importer')) {
            $this->helper->log('Skipping ddg_automation_importer job run');
            return;
        }

        $this->importerFactory->create()->processQueue();
    }
public function emailImporter ( ) { if ( $ this -> jobHasAlreadyBeenRun ( 'ddg_automation_importer' ) ) { $ this -> helper -> log ( 'Skipping ddg_automation_importer job run' ) ; return ; } $ this -> importerFactory -> create ( ) -> processQueue ( ) ; }
CRON FOR EMAIL IMPORTER PROCESSOR.

@return null
CRON FOR EMAIL IMPORTER PROCESSOR .