fixes and check for valid cron expressions

This commit is contained in:
ayntk-ai
2024-08-05 20:05:38 +02:00
parent 27e82f0bde
commit 38976dac12
9 changed files with 124 additions and 27 deletions

View File

@@ -46,8 +46,10 @@
<x-forms.checkbox instantSave id="is_auto_update_enabled" label="Auto Update Coolify" />
@if($is_auto_update_enabled)
<x-forms.input id="auto_update_frequency" label="Auto Update Frequency" placeholder="0 0 * * *" helper="Cron expression for auto update frequency" />
@error('settings.auto_update_frequency') <span class="text-error">{{ $message }}</span> @enderror
@endif
<x-forms.input id="update_check_frequency" label="Update Check Frequency" placeholder="0 0 * * *" helper="Cron expression for update check frequency" />
<x-forms.input id="update_check_frequency" label="Update Check Frequency" placeholder="0 */12 * * *" helper="Cron expression for update check frequency" />
@error('settings.update_check_frequency') <span class="text-error">{{ $message }}</span> @enderror
@endif
<x-forms.checkbox instantSave id="is_registration_enabled" label="Registration Allowed" />
<x-forms.checkbox instantSave id="do_not_track" label="Do Not Track" />