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

        $this->quoteFactory->create()->processAbandonedCarts();
        $this->abandonedCartProgramEnroller->process();
    }
public function abandonedCarts()
    {
        if ($this->jobHasAlreadyBeenRun('ddg_automation_abandonedcarts')) {
            $this->helper->log('Skipping ddg_automation_abandonedcarts job run');
            return;
        }

        $this->quoteFactory->create()->processAbandonedCarts();
        $this->abandonedCartProgramEnroller->process();
    }
public function abandonedCarts ( ) { if ( $ this -> jobHasAlreadyBeenRun ( 'ddg_automation_abandonedcarts' ) ) { $ this -> helper -> log ( 'Skipping ddg_automation_abandonedcarts job run' ) ; return ; } $ this -> quoteFactory -> create ( ) -> processAbandonedCarts ( ) ; $ this -> abandonedCartProgramEnroller -> process ( ) ; }
CRON FOR ABANDONED CARTS.

@return null
CRON FOR ABANDONED CARTS .