diff --git a/bootstrap/helpers/constants.php b/bootstrap/helpers/constants.php index 24e596a0f..f94c9bc20 100644 --- a/bootstrap/helpers/constants.php +++ b/bootstrap/helpers/constants.php @@ -9,6 +9,11 @@ const VALID_CRON_STRINGS = [ 'weekly' => '0 0 * * 0', 'monthly' => '0 0 1 * *', 'yearly' => '0 0 1 1 *', + '@hourly' => '0 * * * *', + '@daily' => '0 0 * * *', + '@weekly' => '0 0 * * 0', + '@monthly' => '0 0 1 * *', + '@yearly' => '0 0 1 1 *', ]; const RESTART_MODE = 'unless-stopped'; diff --git a/resources/views/livewire/project/database/create-scheduled-backup.blade.php b/resources/views/livewire/project/database/create-scheduled-backup.blade.php index 3b7c9e74d..1569d62e0 100644 --- a/resources/views/livewire/project/database/create-scheduled-backup.blade.php +++ b/resources/views/livewire/project/database/create-scheduled-backup.blade.php @@ -1,5 +1,7 @@
- + @if ($s3s->count() === 0) diff --git a/resources/views/livewire/project/shared/scheduled-task/add.blade.php b/resources/views/livewire/project/shared/scheduled-task/add.blade.php index 9e9af07bf..24b89c519 100644 --- a/resources/views/livewire/project/shared/scheduled-task/add.blade.php +++ b/resources/views/livewire/project/shared/scheduled-task/add.blade.php @@ -1,7 +1,9 @@ - + @if ($type === 'application') @if ($containerNames->count() > 1) diff --git a/resources/views/livewire/settings/index.blade.php b/resources/views/livewire/settings/index.blade.php index 906ac1aad..d53db6a98 100644 --- a/resources/views/livewire/settings/index.blade.php +++ b/resources/views/livewire/settings/index.blade.php @@ -60,13 +60,13 @@
+ helper="Cron expression for update check frequency (check for new Coolify versions and pull new Service Templates from CDN).
You can use every_minute, hourly, daily, weekly, monthly, yearly.

Default is every hour." /> Check Manually
@if (is_null(env('AUTOUPDATE', null)) && $is_auto_update_enabled) + helper="Cron expression for auto update frequency (automatically update coolify).
You can use every_minute, hourly, daily, weekly, monthly, yearly.

Default is every day at 00:00" /> @endif