main/core/Manager/Task/ScheduledTaskManager.php
public function create(array $data)
    {
        if ($this->configHandler->hasParameter('is_cron_configured') &&
            $this->configHandler->getParameter('is_cron_configured')) {
            return $this->update($data, new ScheduledTask());
        }

        return null;
    }
public function create(array $data)
    {
        if ($this->configHandler->hasParameter('is_cron_configured') &&
            $this->configHandler->getParameter('is_cron_configured')) {
            return $this->update($data, new ScheduledTask());
        }

        return null;
    }
public function create ( array $ data ) { if ( $ this -> configHandler -> hasParameter ( 'is_cron_configured' ) && $ this -> configHandler -> getParameter ( 'is_cron_configured' ) ) { return $ this -> update ( $ data , new ScheduledTask ( ) ) ; } return null ; }
Creates a new ScheduledTask.

@param array $data

@return ScheduledTask
Creates a new ScheduledTask .