ソースを参照

saver - fix cron hook

Innokenty Enikeev 8 年 前
コミット
9e62074b14
1 ファイル変更1 行追加1 行削除
  1. 1 1
      plugins/saver.lisp

+ 1 - 1
plugins/saver.lisp

@@ -214,7 +214,7 @@
             (/ (getf period-info :total-period) 100))))
 
 (defcron process-saver (:hour '*)
-  (let* ((moment (encode-universal-time 0 0 12 21 4 2017))
+  (let* ((moment (get-universal-time))
          (hour (nth 2 (multiple-value-list (decode-universal-time moment)))))
     (when (>= hour *saver-notify-hour*)
       (dolist (cp (saver/find-today-payments moment))