using cron), therefore it is unpredictable when it will run. Live-migration This repair step will be scheduled to be run in the background (e.g. This repair step will also be executed when running the occ maintenance:repair command Post-migration This repair step will be executed just after the database is migrated during an update of the app. Pre-migration This repair step will be executed just before the database is migrated during an update of the app. Uninstall This repair step will be executed when uninstalling the app, and when disabling the app. This means it is executed every time the app is enabled (using the Web interface or the CLI). Install This repair step will be executed when installing the app. The following repair steps are available: OCA\MyApp\Migration\MyRepairStep Repair-step types The following function will sleep for 10 seconds and show the progress: Once all steps are finished run the finishProgress The maximum number of steps can be adjusted by passing it as argument to the In order to show a progressbar, firstly call the startProgress method. Using the info and warning methods a message can be shown in the console. OCP\Migration\IOutput parameter to the run method. Logger = $logger } /** * Returns the step's name */ public function getName () Outputting information Ī repair step can generate information while running, using the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |