Clon is a Common Lisp library for scheduling much like cron.

Innocenty Enikeew dbc16dcd05 rise from the dead 5 лет назад
doc dbc16dcd05 rise from the dead 5 лет назад
.gitignore dbc16dcd05 rise from the dead 5 лет назад
COPYING dbc16dcd05 rise from the dead 5 лет назад
ChangeLog dbc16dcd05 rise from the dead 5 лет назад
README dbc16dcd05 rise from the dead 5 лет назад
TODO dbc16dcd05 rise from the dead 5 лет назад
clon-test.asd dbc16dcd05 rise from the dead 5 лет назад
clon-test.lisp dbc16dcd05 rise from the dead 5 лет назад
clon.asd dbc16dcd05 rise from the dead 5 лет назад
clon.lisp dbc16dcd05 rise from the dead 5 лет назад
packages.lisp dbc16dcd05 rise from the dead 5 лет назад
test-packages.lisp dbc16dcd05 rise from the dead 5 лет назад

README

Clon is a Common Lisp library for scheduling much like cron.

It's under the MIT licence. See COPYING.

How to use it:

;;; create a stateless schedule:
(make-typed-cron-schedule :second '(member 0 10 20 30 40 50))
;;; create a scheduler that remembers the last scheduled time:
(make-scheduler *)
;;; schedule a function:
(schedule-function (lambda ()
(print (get-universal-time)))
*)
;;; unschedule the timer returned by SCHEDULE-FUNCTION:
(trivial-timers:unschedule-timer *)