You are here

function backup_migrate_get_schedule in Backup and Migrate 6.3

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

Get the schedule info for the schedule with the given ID, or NULL if none exists.

2 calls to backup_migrate_get_schedule()
backup_migrate_schedule_run in includes/schedules.inc
Run the preconfigured schedules. Called on cron.
backup_migrate_ui_schedule_form_submit in ./backup_migrate.module
Submit the quick schedule form.

File

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

Code

function backup_migrate_get_schedule($schedule_id) {
  $schedules = backup_migrate_get_schedules();
  return @$schedules[$schedule_id];
}