influxdata / influxdata/kapacitor

Add cron match time function

Open
#168 0 comments 6 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

In addition to the normal time functions (see #141) we should be able to do
`lambda: cronMatch('* 8-17 * * * *', "time")` to greatly simplify and time based expressions one would write.

Contributor guide

Open the contributing guide

Research direction

Read issue #141 and locate the existing normal time functions and expression evaluation entry points. Trace how a lambda expression receives its arguments, then define the expected behavior for cronMatch('* 8-17 * * * *', "time"). Done means cron-based time expressions work as described and existing time-function behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.