Handbook
Glossary
next-times-from-until ( cronentry from-timestamp until-timestamp -- timestamps )
Vocabulary
crontab
Inputs
cronentry
an
object
from-timestamp
an
object
until-timestamp
an
object
Outputs
timestamps
an
object
Definition
USING:
accessors
calendar
kernel
math.order
sequences
;
IN:
crontab
:
next-times-from-until
( cronentry from-timestamp until-timestamp -- timestamps )
[
dup
second>>
0
=
[
1
minutes
time-
]
when
]
dip
[
[
dupd
next-time-after
dup
dup
]
]
dip
[
before?
]
curry
compose
[
]
produce
3nip
;