updateJob example

'id' => $job->getId()]
            );
        }
    }

    /** * {@inheritdoc} */
    public function startJob(Enlight_Components_Cron_Job $job)
    {
        $job->setStart();
        $this->updateJob($job);

        return $this->connection->update(
            $this->tableName,
            ['end' => null],
            ['id' => $job->getId()]
        ) > 0;
    }

    /** * {@inheritdoc} */
    


    /** * Deactivate a given Cron Job in the crontab * * @return Enlight_Components_Cron_Adapter */
    public function disableJob(Enlight_Components_Cron_Job $job)
    {
        $job->setActive(false);

        return $this->adapter->updateJob($job);
    }

    /** * Deactivate a given Cron Job * * @throws Enlight_Exception * * @return Enlight_Components_Cron_Manager */
    public function deleteJob(Enlight_Components_Cron_Job $job)
    {
        
Home | Imprint | This part of the site doesn't use cookies.