cron-validate icon indicating copy to clipboard operation
cron-validate copied to clipboard

Validate special symbols

Open tajnymag opened this issue 1 year ago • 2 comments

Is it possible to also validate special characters in fields?

Specifically, I'm trying to reject expressions using syntax for stepping like 1-59/3 * * * *, 2/9 * * * * *

Reason is, none of the cron matching libraries I've found support them properly, so I would like to should the user a warning if they input such expression.

tajnymag avatar Mar 15 '24 16:03 tajnymag

So you basically want the option to disable stepping as a valid expression so it raises an error?

I can take a look and change the option / configuration to include such an option.

Airfooox avatar Apr 02 '24 21:04 Airfooox

Yes, basically exactly that.

tajnymag avatar Apr 02 '24 21:04 tajnymag