芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/migrations/20190725115532_add_schedule_reminder_task_migration.php
. */ use Phinx\Migration\AbstractMigration; /** * Class AddScheduleReminderTaskMigration */ class AddScheduleReminderTaskMigration extends AbstractMigration { /** @inheritdoc */ public function change() { $table = $this->table('task'); $table->insert([ [ 'name' => 'Schedule Reminder', 'class' => '\Xibo\XTR\ScheduleReminderTask', 'options' => '[]', 'schedule' => '*/5 * * * * *', 'isActive' => '1', 'configFile' => '/tasks/schedule-reminder.task' ], ])->save(); } }