You are here

function backup_migrate_schedule::get_last_run in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 8.2 includes/schedules.inc \backup_migrate_schedule::get_last_run()
  2. 6.3 includes/schedules.inc \backup_migrate_schedule::get_last_run()
  3. 6.2 includes/schedules.inc \backup_migrate_schedule::get_last_run()
  4. 7.3 includes/schedules.inc \backup_migrate_schedule::get_last_run()
  5. 7.2 includes/schedules.inc \backup_migrate_schedule::get_last_run()

Set the last run time of a schedule to the given timestamp, or now if none specified.

File

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

Class

backup_migrate_schedule
A schedule class for crud operations.

Code

function get_last_run() {
  return variable_get('backup_migrate_schedule_last_run_' . $this
    ->get('id'), 0);
}