function backup_migrate_schedules_cron in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 includes/schedules.inc \backup_migrate_schedules_cron()
- 6.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 - Implements 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() {
require_once dirname(__FILE__) . '/profiles.inc';
foreach (backup_migrate_get_schedules() as $schedule) {
$schedule
->cron();
}
backup_migrate_cleanup();
}