Database check is faster if you allocate more heap space with 'gc' first:
: (load "@lib/too.l")
-> loadDB
: (gc 1200) (dbCheck)
...
#PicoLisp#lisp#REPL
A simpler way (if no other alarm is currently scheduled by the application):
: (alarm (- (time 12 30) (time)) (kill *PPid))
-> 0
$
#PicoLisp#lisp#REPL
Stop current server process family (parent and all child processes) at 12:30 o'clock:
: (wait (* 1000 (- (time 12 30) (time)))) (kill *PPid)
-> T
$
#PicoLisp#lisp#REPL
List all IP addresses of this machine:
: (make
(in '(ip addr)
(while (from " inet ")
(link (till " " T)) ) ) )
-> ("127.0.0.1/8" "176.221.46.93/24")
#PicoLisp#lisp#REPL