The migrationpush.php cronjob
Migrations: push the record of the runs whose push failed to the migrations repository's remote again.
Entry point cronjobs/migrationpush.php, code in kernel/private/classes/cronjobs/migrationpush.php.
The cronjob part migrationpush (cronjobs/migrationpush.php; [CronjobPart-migrationpush] in cronjob.ini): pushes the
commits and tags of the migration runs whose push failed (exp_migration_run.push_state pending) to the remote of
the migrations repository again (expMigrationRepository::retryPushes()). Does nothing while no run waits.
When it runs
In the shipped settings/cronjob.ini it belongs to: the part migrationpush.
# run its part (as the user the web server runs as, from the installation root)
php runcronjobs.php migrationpush
./console exp:runcronjobs migrationpush
# run only this script
php runcronjobs.php migrationpushAdd it to a part in an override:
# settings/override/cronjob.ini.append.php
[CronjobPart-migrationpush]
Scripts[]=migrationpush.php
*/ ?>Related
Generated by ./console exp:help:examples from cronjobs/migrationpush.php, kernel/private/classes/cronjobs/migrationpush.php, settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.