src/apis/CommonController.php
public function actionSchedulerDelete($id)
    {
        $job = Scheduler::findOne($id);

        if ($job) {
            return $job->delete();
        }

        return false;
    }
public function actionSchedulerDelete($id)
    {
        $job = Scheduler::findOne($id);

        if ($job) {
            return $job->delete();
        }

        return false;
    }
public function actionSchedulerDelete ( $ id ) { $ job = Scheduler :: findOne ( $ id ) ; if ( $ job ) { return $ job -> delete ( ) ; } return false ; }
Remove a job for a given ID.

@return boolean
@since 2.0.0
Remove a job for a given ID .