propellor spin
This commit is contained in:
parent
99ab46498c
commit
335cce275a
|
@ -20,6 +20,7 @@ import qualified Data.Map as M
|
|||
period :: Property -> Recurrance -> Property
|
||||
period prop recurrance = Property desc $ do
|
||||
lasttime <- getLastChecked (propertyDesc prop)
|
||||
print lasttime
|
||||
nexttime <- fmap startTime <$> nextTime schedule lasttime
|
||||
t <- localNow
|
||||
if Just t >= nexttime
|
||||
|
|
Loading…
Reference in New Issue