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

        $this->automationFactory->create()->sync();
    }
public function syncAutomation()
    {
        if ($this->jobHasAlreadyBeenRun('ddg_automation_status')) {
            $this->helper->log('Skipping ddg_automation_status job run');
            return;
        }

        $this->automationFactory->create()->sync();
    }
public function syncAutomation ( ) { if ( $ this -> jobHasAlreadyBeenRun ( 'ddg_automation_status' ) ) { $ this -> helper -> log ( 'Skipping ddg_automation_status job run' ) ; return ; } $ this -> automationFactory -> create ( ) -> sync ( ) ; }
CRON FOR AUTOMATION.

@return null
CRON FOR AUTOMATION .