sist2
sist2 copied to clipboard
Job schedule is not accepting crontab formatting that includes / (step values)
In admin panel job schedule is not accepting jobs with / in them (step values); say a job of scanning at every other hour: 0 */2 * * *
The / is not getting saved at all in the admin webui
I think this is an issue with the way cron formatting is validated. @simon987 here: https://github.com/simon987/sist2/blob/2436e52a62bc02c20dfafdef5f4b674ddbe49574/sist2-admin/frontend/src/components/JobOptions.vue#L49C20-L49C67
SO reference: https://stackoverflow.com/questions/14203122/create-a-regular-expression-for-cron-statement