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

@@ -12,8 +12,8 @@ return new class extends Migration
public function up(): void
{
Schema::table('instance_settings', function (Blueprint $table) {
$table->string('update_check_frequency')->nullable();
$table->string('auto_update_frequency')->nullable();
$table->string('update_check_frequency')->default('0 */12 * * *')->nullable();
$table->string('auto_update_frequency')->default('0 0 * * *')->nullable();
});
}