You are here

function backup_migrate_schedules_cron in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.3 includes/schedules.inc \backup_migrate_schedules_cron()
  2. 7.3 includes/schedules.inc \backup_migrate_schedules_cron()

Run the preconfigured schedules. Called on cron.

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

File

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

Code

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