function backup_migrate_schedule_run in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 includes/schedules.inc \backup_migrate_schedule_run()
- 6.3 includes/schedules.inc \backup_migrate_schedule_run()
Run the preconfigured schedules. Called on cron.
1 call to backup_migrate_schedule_run()
- backup_migrate_drush_schedule in includes/
backup_migrate.drush.inc - Backup using schedule.
1 string reference to 'backup_migrate_schedule_run'
- backup_migrate_cronapi in ./
backup_migrate.module - Implements hook_cronapi().
File
- includes/
schedules.inc, line 70 - All of the schedule handling code needed for Backup and Migrate.
Code
function backup_migrate_schedule_run($schedule_id) {
require_once dirname(__FILE__) . '/profiles.inc';
if (($schedule = backup_migrate_get_schedule($schedule_id)) && $schedule
->is_enabled()) {
$schedule
->run();
}
backup_migrate_cleanup();
}