Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

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

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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Aug 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core Release date
8.x-1.0-rc3 Pre-release Aug 7, 2024
8.x-1.0-rc2 Pre-release Aug 6, 2023