Model/Cron.php
public function subscribersAndGuestSync()
    {
        //sync subscribers
        $subscriberModel = $this->subscriberFactory->create();
        $result = $subscriberModel->sync();

        //un-subscribe suppressed contacts
        $subscriberModel->unsubscribe();

        //sync guests
        $this->guestFactory->create()->sync();

        return $result;
    }
public function subscribersAndGuestSync()
    {
        //sync subscribers
        $subscriberModel = $this->subscriberFactory->create();
        $result = $subscriberModel->sync();

        //un-subscribe suppressed contacts
        $subscriberModel->unsubscribe();

        //sync guests
        $this->guestFactory->create()->sync();

        return $result;
    }
public function subscribersAndGuestSync ( ) { //sync subscribers $ subscriberModel = $ this -> subscriberFactory -> create ( ) ; $ result = $ subscriberModel -> sync ( ) ; //un-subscribe suppressed contacts $ subscriberModel -> unsubscribe ( ) ; //sync guests $ this -> guestFactory -> create ( ) -> sync ( ) ; return $ result ; }
CRON FOR SUBSCRIBERS AND GUEST CONTACTS.

@return array
CRON FOR SUBSCRIBERS AND GUEST CONTACTS .