mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Fix tasks to use proper cron syntax
This commit is contained in:
@@ -15,15 +15,16 @@ class AddTasksTable extends Migration
|
||||
Schema::create('tasks', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->integer('server')->unsigned();
|
||||
$table->tinyInteger('active')->default(1);
|
||||
$table->string('action');
|
||||
$table->text('data');
|
||||
$table->tinyInteger('queued')->unsigned()->default(0);
|
||||
$table->integer('month')->default(0);
|
||||
$table->integer('week')->default(0);
|
||||
$table->integer('day')->default(0);
|
||||
$table->integer('hour')->default(0);
|
||||
$table->integer('minute')->default(0);
|
||||
$table->integer('second')->default(0);
|
||||
$table->string('year')->default('*');
|
||||
$table->string('day_of_week')->default('*');
|
||||
$table->string('month')->default('*');
|
||||
$table->string('day_of_month')->default('*');
|
||||
$table->string('hour')->default('*');
|
||||
$table->string('minute')->default('*');
|
||||
$table->timestamp('last_run');
|
||||
$table->timestamp('next_run');
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user