           (:project-dir $)
           (ex-ctx/make-job-execution-context $)
           (job-ex/make-job-execution $)
-          (jobs/schedule-job! jd $))))
+          (jobs-desc/schedule-job! jd $))))

(defn- configure-jobs-subsystem
  [cidef-ns]
  (as-> cidef-ns $
        (config/filter-publics $ jobs/job-descriptor?)
        (map (fn [[s v]] [(name s) (var-get v)]) $)
        (into {} $)))


  (:require [fhofherr.simple.core.dsl] ; Required to pass it to load-config
            [fhofherr.simple.core [config :as config]
             [job-fn :as job-fn]
             [job-descriptor :as jobs-desc]
             [job-execution :as job-ex]
             [job-execution-context :as ex-ctx]
             [subsystems :as subsystems]]))
