src/Anonym/Cron/Cron.php
public function install(TaskReposity $job){

        // install the default schedule
        if (!$this->getBasic()->jobExists($job->buildCommandWithExpression())) {
            $this->getBasic()->event(
                function () use ($job) {
                    return $job;
                }
            );

            $this->getBasic()->run();
        }
    }
public function install(TaskReposity $job){

        // install the default schedule
        if (!$this->getBasic()->jobExists($job->buildCommandWithExpression())) {
            $this->getBasic()->event(
                function () use ($job) {
                    return $job;
                }
            );

            $this->getBasic()->run();
        }
    }
public function install ( TaskReposity $ job ) { // install the default schedule if ( ! $ this -> getBasic ( ) -> jobExists ( $ job -> buildCommandWithExpression ( ) ) ) { $ this -> getBasic ( ) -> event ( function ( ) use ( $ job ) { return $ job ; } ) ; $ this -> getBasic ( ) -> run ( ) ; } }
install the default cron


@param TaskReposity $job
install the default cron