Module Description
The Migrate Scheduler module provides the functionality of executing the migrations on a particular schedule.
Cron API which is built into the Drupal core is used to schedule the migrations.
INSTALLATION AND CONFIGURATION
Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/node/895232 for further information.
The module currently relies on the configuration set in the settings.php file, with a plan to support the configuration from the admin UI #2973261: Make the configuration available to set/update from the admin UI
Place the following configuration variable in any of the active settings.php, or settings.local.php, or settings.local.php
$config['migrate_scheduler']['migrations'] = [ 'migration_1' => [ 'time' => 3600, # To be executed after every 1 hour. 'update' => TRUE, # To be executed with the --update flag. ], 'migration_2' => [ 'time' => 28800, # To be executed after every 8 hours. ], 'migration_3' => [ 'time' => 60, # To be executed every minute. 'sync' => TRUE, # To be executed with the --sync flag. ], ]; The above configuration is similar to executing:
* drush mim migration_1 --update - after every hour.
* drush mim migration_2 - after every 8 hours.
* drush mim migration_3 --sync - after every one minute
The settings like update, and sync can be used together as well.
RECOMMENDED MODULES
* Migrate Plus (https://www.drupal.org/project/migrate_plus): Enhancements to core migration support
* Migrate Tools (https://www.drupal.org/project/migrate_tools): Tools to assist in developing and running migrations.
SUPPORT
To submit bug reports and feature suggestions, or to track changes: https://www.drupal.org/project/issues/search/migrate_scheduler
MAINTAINERS
Current maintainers: Ajit Shinde - https://www.drupal.org/u/ajits
Cron API which is built into the Drupal core is used to schedule the migrations.
INSTALLATION AND CONFIGURATION
Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/node/895232 for further information.
The module currently relies on the configuration set in the settings.php file, with a plan to support the configuration from the admin UI #2973261: Make the configuration available to set/update from the admin UI
Place the following configuration variable in any of the active settings.php, or settings.local.php, or settings.local.php
$config['migrate_scheduler']['migrations'] = [ 'migration_1' => [ 'time' => 3600, # To be executed after every 1 hour. 'update' => TRUE, # To be executed with the --update flag. ], 'migration_2' => [ 'time' => 28800, # To be executed after every 8 hours. ], 'migration_3' => [ 'time' => 60, # To be executed every minute. 'sync' => TRUE, # To be executed with the --sync flag. ], ]; The above configuration is similar to executing:
* drush mim migration_1 --update - after every hour.
* drush mim migration_2 - after every 8 hours.
* drush mim migration_3 --sync - after every one minute
The settings like update, and sync can be used together as well.
RECOMMENDED MODULES
* Migrate Plus (https://www.drupal.org/project/migrate_plus): Enhancements to core migration support
* Migrate Tools (https://www.drupal.org/project/migrate_tools): Tools to assist in developing and running migrations.
SUPPORT
To submit bug reports and feature suggestions, or to track changes: https://www.drupal.org/project/issues/search/migrate_scheduler
MAINTAINERS
Current maintainers: Ajit Shinde - https://www.drupal.org/u/ajits
Module Link
Project Usage
505
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Migrate Scheduler module provides the functionality of executing the migrations on a particular schedule using Cron API in Drupal core.
Data Name
migrate_scheduler