<commit_before><model>
    <mount>//OPNsense/cron</mount>
    <description>
        (minicron) cron settings
    </description>
    <items>
        <jobs>
            <job type="ArrayField">
                <origin type="TextField">
                    <Required>Y</Required>
                    <mask>/^([a-z,A-Z,1-9]){0,30}$/</mask>
                    <ValidationMessage>Origin should be regular text of max 30 characters</ValidationMessage>
                </origin>
                <enabled type="BooleanField">
                    <default>1</default>
                    <Required>Y</Required>
                </enabled>
                <minutes type="TextField">
                    <default>0</default>
                    <Required>Y</Required>
                    <mask>/^((?:\*|[1-5][0-9]|0[0-9]|[0-9])(,{1}|-{1}|$))+$/</mask>
                    <ValidationMessage>Value needs to be between 0 and 59, multiple values, ranges and * are supported (ex. 1,10,20,30 or 1-30  )</ValidationMessage>
                </minutes>
                <hours type="TextField">
                    <default>0</default>
                    <Required>Y</Required>
                    <mask>/^((?:\*|[1-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><commit_msg>(cron) fix validation thanks @alisamar, closes https://github.com/opnsense/core/issues/769<commit_after><model>
    <mount>//OPNsense/cron</mount>
    <description>
        (minicron) cron settings
    </description>
    <items>
        <jobs>
            <job type="ArrayField">
                <origin type="TextField">
                    <Required>Y</Required>
                    <mask>/^([a-z,A-Z,1-9]){0,30}$/</mask>
                    <ValidationMessage>Origin should be regular text of max 30 characters</ValidationMessage>
                </origin>
                <enabled type="BooleanField">
                    <default>1</default>
                    <Required>Y</Required>
                </enabled>
                <minutes type="TextField">
                    <default>0</default>
                    <Required>Y</Required>
                    <mask>/^((?:\*|[1-5][0-9]|0[0-9]|[0-9])(,{1}|-{1}|$))+$/</mask>
                    <ValidationMessage>Value needs to be between 0 and 59, multiple values, ranges and * are supported (ex. 1,10,20,30 or 1-30  )</ValidationMessage>
                </minutes>
                <hours type="TextField">
                    <default>0</default>
                    <Required>Y</Required>
                    <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>
{'fraction_non_alphanumeric': 0.16801893171061527, 'fraction_numerical': 0.037525354969574036, 'mean_word_length': 1.6047535211267605, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6074730', 'n_tokens_mistral': 940, 'n_tokens_neox': 831, 'n_words': 165}