Open mmartin24 opened 1 month ago
Setup
v2.9-af2463ff43418024ff86cfd9304836b7074a924a-head
Brave v1.70.126
Describe the bug Attemtping to schedule a cronjob with @daily triggers alert symbol with text Invalid cron schedule
@daily
Invalid cron schedule
To Reproduce
rke2-machine-config-cleanup-cronjob
5 0 * * *
Result It is marked as invalid both in tooltip and with small message under the new crontab
Expected Result Should be valid (verifiable here: https://crontab.guru/#@daily) and no error sign should appear
Screenshots
Additional context
Those aren't standard syntax... but it looks like kube supports them https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#schedule-syntax.
We should bump https://github.com/bradymholt/cronstrue
Setup
v2.9-af2463ff43418024ff86cfd9304836b7074a924a-head
Brave v1.70.126
Describe the bug Attemtping to schedule a cronjob with
@daily
triggers alert symbol with textInvalid cron schedule
To Reproduce
rke2-machine-config-cleanup-cronjob
> click 3 dots menu > edit config5 0 * * *
to@daily
Result It is marked as invalid both in tooltip and with small message under the new crontab
Expected Result Should be valid (verifiable here: https://crontab.guru/#@daily) and no error sign should appear
Screenshots
Additional context