Liking cljdoc? Tell your friends :D

cljobq.cron


error-msgclj

(error-msg v)
(error-msg t v)

Validate the cron expression v based on the cron type t, which can be either :unix or :quartz and defaults to the former. Returns nil if validation succeeds, and an error string otherwise.

Validate the cron expression `v` based on the cron type `t`, which
can be either `:unix` or `:quartz` and defaults to the former.
Returns `nil` if validation succeeds, and an error string otherwise.
raw docstring

next-runclj

(next-run v)
(next-run t v)

Get the next execution time for the cron expression v from now.

Get the next execution time for the cron expression `v` from
now.
raw docstring

next-run-afterclj

(next-run-after v dt)
(next-run-after t v dt)

Get the next execution time for the cron expression v after date/time dt.

Get the next execution time for the cron expression `v` after
date/time `dt`.
raw docstring

valid?clj

(valid? v)
(valid? t v)

Validate the cron expression v based on the cron type t, which can be either :unix or :quartz and defaults to the former. Returns true or false.

Validate the cron expression `v` based on the cron type `t`, which
can be either `:unix` or `:quartz` and defaults to the former.
Returns true or false.
raw docstring

validateclj

(validate v)
(validate t v)

Validate the cron expression v based on the cron type t, which can be either :unix or :quartz and defaults to the former. Throws an IllegalArgumentException if validation fails.

Validate the cron expression `v` based on the cron type `t`, which
can be either `:unix` or `:quartz` and defaults to the former.
Throws an IllegalArgumentException if validation fails.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close