function set($job,$handler,$expr) {
        if (!preg_match('/^[\w\-]+$/',$job))
            user_error(sprintf(self::E_Invalid,$job),E_USER_ERROR);
        $this->jobs[$job]=array($handler,$expr);
    }
function set($job,$handler,$expr) {
        if (!preg_match('/^[\w\-]+$/',$job))
            user_error(sprintf(self::E_Invalid,$job),E_USER_ERROR);
        $this->jobs[$job]=array($handler,$expr);
    }
function set ( $ job , $ handler , $ expr ) { if ( ! preg_match ( '/^[\w\-]+$/' , $ job ) ) user_error ( sprintf ( self :: E_Invalid , $ job ) , E_USER_ERROR ) ; $ this -> jobs [ $ job ] = array ( $ handler , $ expr ) ; }
Schedule a job
@param string $job
@param string $handler
@param string $expr
Schedule a job