You are here

function backup_migrate_schedules_run in Backup and Migrate 7.3

Same name and namespace in other branches
  1. 8.2 includes/schedules.inc \backup_migrate_schedules_run()
  2. 8.3 includes/schedules.inc \backup_migrate_schedules_run()
  3. 5.2 includes/schedules.inc \backup_migrate_schedules_run()
  4. 6.3 includes/schedules.inc \backup_migrate_schedules_run()
  5. 6.2 includes/schedules.inc \backup_migrate_schedules_run()
  6. 7.2 includes/schedules.inc \backup_migrate_schedules_run()

Run the preconfigured schedules regardless of scheduled time settings.

File

includes/schedules.inc, line 58
All of the schedule handling code needed for Backup and Migrate.

Code

function backup_migrate_schedules_run() {
  require_once dirname(__FILE__) . '/profiles.inc';
  foreach (backup_migrate_get_schedules() as $schedule) {
    $schedule
      ->run();
  }
  backup_migrate_cleanup();
}