Commit 796b6c0f authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(cron) fix validation thanks @alisamar, closes https://github.com/opnsense/core/issues/769

(cherry picked from commit d92af436)
parent 1f3a9b17
......@@ -24,7 +24,7 @@
<hours type="TextField">
<default>0</default>
<Required>Y</Required>
<mask>/^((?:\*|[1-2][0-3]|0[0-9]|[0-9])(,{1}|-{1}|$))+$/</mask>
<mask>/^((?:\*|([1][0-9]|[2][0-3])|0[0-9]|[0-9])(,{1}|-{1}|$))+$/</mask>
<ValidationMessage>Value needs to be between 0 and 23, multiple values, ranges and * are supported (ex. 1,2,8 or 0-8 )</ValidationMessage>
</hours>
<days type="TextField">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment