diff --git a/src/Http/Controllers/Configuration/ScheduleController.php b/src/Http/Controllers/Configuration/ScheduleController.php index 007c13506..f59d1d736 100644 --- a/src/Http/Controllers/Configuration/ScheduleController.php +++ b/src/Http/Controllers/Configuration/ScheduleController.php @@ -51,7 +51,7 @@ public function listSchedule() 'every minute' => '* * * * *', 'every five minutes' => '*/5 * * * *', 'every ten minutes' => '*/10 * * * *', - 'every thirty minutes' => '0/30 * * * *', + 'every thirty minutes' => '*/30 * * * *', ]; diff --git a/src/database/migrations/2024_01_22_191028_fix_invalid_schedules.php b/src/database/migrations/2024_01_22_191028_fix_invalid_schedules.php new file mode 100644 index 000000000..712b5b357 --- /dev/null +++ b/src/database/migrations/2024_01_22_191028_fix_invalid_schedules.php @@ -0,0 +1,53 @@ +where('expression', '0/30 * * * *') + ->update([ + 'expression' => '*/30 * * * *', + ]); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + } +}