src/Job/Scheduler/AbstractJobScheduler.php
protected function markJobAsScheduled(Job $job, ?string $externalId = null): void
    {
        $stmt = $this->engine->prepareQuery("UPDATE `#__bpmn_job` SET `scheduled_at` = :scheduled, `external_id` = :ex WHERE `id` = :id");
        $stmt->bindValue('scheduled', \time());
        $stmt->bindValue('ex', $externalId);
        $stmt->bindValue('id', $job->getId());
        $stmt->execute();
    }
protected function markJobAsScheduled(Job $job, ?string $externalId = null): void
    {
        $stmt = $this->engine->prepareQuery("UPDATE `#__bpmn_job` SET `scheduled_at` = :scheduled, `external_id` = :ex WHERE `id` = :id");
        $stmt->bindValue('scheduled', \time());
        $stmt->bindValue('ex', $externalId);
        $stmt->bindValue('id', $job->getId());
        $stmt->execute();
    }
protected function markJobAsScheduled ( Job $ job , ? string $ externalId = null ) : void { $ stmt = $ this -> engine -> prepareQuery ( "UPDATE `#__bpmn_job` SET `scheduled_at` = :scheduled, `external_id` = :ex WHERE `id` = :id" ) ; $ stmt -> bindValue ( 'scheduled' , \ time ( ) ) ; $ stmt -> bindValue ( 'ex' , $ externalId ) ; $ stmt -> bindValue ( 'id' , $ job -> getId ( ) ) ; $ stmt -> execute ( ) ; }
Marks the job is being scheduled by writing a timestamp to the DB.

@param Job $job
Marks the job is being scheduled by writing a timestamp to the DB .