Skip to content

Commit f5790f0

Browse files
authored
Merge pull request #1837 from mrrobot47/cron/migrations
Add cron config updates in migration
2 parents 440f357 + 9b4c515 commit f5790f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

php/EE/Runner.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,15 @@ public function check_requirements( $show_error = true ) {
133133
* Function to run migrations required to upgrade to the newer version. Will always be invoked from the newer phar downloaded inside the /tmp folder
134134
*/
135135
private function migrate() {
136+
136137
$rsp = new \EE\RevertableStepProcessor();
137138

138139
$rsp->add_step( 'ee-db-migrations', 'EE\Migration\Executor::execute_migrations' );
139140
$rsp->add_step( 'ee-custom-container-migrations', 'EE\Migration\CustomContainerMigrations::execute_migrations' );
140141
$rsp->add_step( 'ee-docker-image-migrations', 'EE\Migration\Containers::start_container_migration' );
141142
$rsp->add_step( 'ee-update-docker-compose', 'EE\Migration\Containers::update_docker_compose' );
143+
$rsp->add_step( 'ee-update-cron-config', 'EE\Cron\Utils\update_cron_config' );
144+
142145
return $rsp->execute();
143146
}
144147

0 commit comments

Comments
 (0)