]> gitweb.factorcode.org Git - factor.git/commitdiff
crontab: instead of after= make it after.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 17 Mar 2019 16:24:16 +0000 (09:24 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 17 Mar 2019 16:24:47 +0000 (09:24 -0700)
extra/crontab/crontab.factor

index 50c9e069516834f7e4279c8ee3c79ef4bc90a8b4..addedb7e29ba697d6d56ba0fb6f84857c312d11d 100644 (file)
@@ -55,9 +55,7 @@ CONSTANT: aliases H{
 
 :: next-time-after ( cronentry timestamp -- )
 
-    timestamp second>> 0 > [
-        timestamp 0 >>second 1 minutes (time+) 2drop
-    ] when
+    timestamp 0 >>second 1 minutes (time+) 2drop
 
     timestamp month>> :> month
     cronentry months>> [ month >= ] find nip [