Closed ericgazoni closed 5 years ago
That is the reason that it is not working :
Would you suggest to write a pre-parser? Use any other library which handle cron expressions?
I don't know what's the intent behind using CronExpression
, what do you propose?
Using a CronExpression
we are able to do : CronExpression.check_trigger(now)
.
cronex
was the only library I found when I was searching for a cron expression parser that allows to do this.
Maybe a pre-parser or a validator when a new Schedule
is created?
yup, basically running cronex everytime a Schedule
is modified looks like a plan
When trying to open the
/schedule
endpoint I'm getting this error:This is the schedule I'm using:
You can reproduce using the
kirby demo
command