     (timbre/info "Initialising quartz and starting job. Quartz config:"
                  (:quartz config))
     (let [scheduler (-> (qs/initialize) qs/start)
-          data (org.quartz.JobDataMap. {"db" db
-                                        "perform-action" perform-action
-                                        "utils" utils})
           job (j/build
                (j/of-type UpdateActionsJob)
-               (j/with-identity (j/key "jobs.updateactions.1"))
-               (.usingJobData data))
+               (j/with-identity (j/key "jobs.updateactions.1")))
           start-at (DateBuilder/futureDate (-> config
                                                :quartz
                                                :initial-delay-in-seconds)


(comment

  (def worker (map->Worker {:config (hatnik.config/get-config)}))

  (component/start worker)

  (component/stop worker)


                                       (-> config
                                           :quartz
                                           :interval-in-seconds)))))]
      (.putAll (.getContext scheduler)
               {"db" db
                "perform-action" perform-action
                "utils" utils})
      (qs/schedule scheduler job trigger)
      (assoc component :scheduler scheduler)))

