You are here

function backup_migrate_schedules_run in Backup and Migrate 6.2

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. 7.3 includes/schedules.inc \backup_migrate_schedules_run()
  6. 7.2 includes/schedules.inc \backup_migrate_schedules_run()

Run the preconfigured schedules. Called on cron.

1 call to backup_migrate_schedules_run()
backup_migrate_cron in ./backup_migrate.module
Implementation of hook_cron().

File

includes/schedules.inc, line 13

Code

function backup_migrate_schedules_run() {
  backup_migrate_include('profiles');
  foreach (backup_migrate_get_schedules() as $schedule) {
    $schedule
      ->cron();
  }
  backup_migrate_cleanup();
}