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

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

    (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))))
