     (t/with-schedule
       (cron/schedule
         (cron/weekly-on-day-and-hour-and-minute 0 2 30)))))
+
+(defn add-jobs
+  [scheduler]
+  (-> scheduler
+      (qs/schedule (daily-digest-job) (daily-digest-trigger))
+      (qs/schedule (weekly-digest-job) (weekly-digest-trigger))))


(defn daily-update-users
  "Find all users that want daily digest updates"
  [])

; sending

(ns chat.server.email-digest
  (:require [clojurewerkz.quartzite
             [triggers :as t]
             [jobs :as j :refer [defjob]]
             [scheduler :as qs]]
            [clojurewerkz.quartzite.schedule.cron :as cron]
            [clj-time
             [core :as time]
