From 03ee6d57a533b5845507d9c83d29d81a69612f09 Mon Sep 17 00:00:00 2001 From: haskal Date: Wed, 2 Sep 2020 01:24:37 -0400 Subject: [PATCH] hack: add a bias to fix rescheduling --- awoobot.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awoobot.rkt b/awoobot.rkt index dfa0b05..e632a0f 100755 --- a/awoobot.rkt +++ b/awoobot.rkt @@ -55,7 +55,7 @@ (define (schedule-next) (define now (current-date/utc)) - (define now-jd (date->jd now)) + (define now-jd (+ 0.5 (date->jd now))) (define DT (dynamical-delta-t (date-year now))) (define fullmoon-jd (- (lunar-next-phase now-jd 'full) (/ DT 86400)))