Liking cljdoc? Tell your friends :D

metabase.util.cron

Utility functions for converting frontend schedule dictionaries to cron strings and vice versa. See http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html#format for details on cron format.

Utility functions for converting frontend schedule dictionaries to cron strings and vice versa.
See http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html#format for details on cron
format.
raw docstring

cron-string->schedule-mapclj

(cron-string->schedule-map cron-string)

Inputs: [cron-string :- CronScheduleString] Returns: ScheduleMap

Convert a normal CRON-STRING into the expanded ScheduleMap format used by the frontend.

Inputs: [cron-string :- CronScheduleString]
Returns: ScheduleMap

Convert a normal CRON-STRING into the expanded ScheduleMap format used by the frontend.
sourceraw docstring

CronScheduleStringclj

Schema for a valid cron schedule string.

Schema for a valid cron schedule string.
sourceraw docstring

schedule-map->cron-stringclj

(schedule-map->cron-string {day-of-week :schedule_day
                            frame :schedule_frame
                            hour :schedule_hour
                            schedule-type :schedule_type})

Inputs: [{day-of-week :schedule_day, frame :schedule_frame, hour :schedule_hour, schedule-type :schedule_type} :- ScheduleMap] Returns: CronScheduleString

Convert the frontend schedule map into a cron string.

Inputs: [{day-of-week :schedule_day, frame :schedule_frame, hour :schedule_hour, schedule-type :schedule_type} :- ScheduleMap]
Returns: CronScheduleString

Convert the frontend schedule map into a cron string.
sourceraw docstring

ScheduleMapclj

Schema for a frontend-parsable schedule map. Used for Pulses and DB scheduling.

Schema for a frontend-parsable schedule map. Used for Pulses and DB scheduling.
sourceraw docstring

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

× close