             [clojurewerkz.quartzite.jobs :as j]
             [clojurewerkz.quartzite.conversion :as qc]
             [clojurewerkz.quartzite.jobs :refer [defjob]]
-            [clojurewerkz.quartzite.schedule.daily-interval :refer [schedule with-repeat-count with-interval-in-days with-interval-in-minutes time-of-day every-day starting-daily-at ending-daily-at]]
+            [clojurewerkz.quartzite.schedule.daily-interval :refer [schedule time-of-day every-day starting-daily-at ending-daily-at]]
             [ceres.curator :as curator]
             [taoensso.timbre :as timbre]))
 


(defjob OriginBackup [ctx]
  (let [path (get (qc/from-job-data ctx) "folder-path")]
      (info "Writing tweets backup...")
    (curator/backup-origins path)))

(defn tweets-backup-schedule
  "Create a schedule to backup the tweets at 3 am"

                    (ending-daily-at (time-of-day 3 10 01)))))]
    (qs/schedule job trigger)))


(defn start-executor
  "Run the schedules"
  [path]
