function backup_migrate_schedule::get_last_run in Backup and Migrate 7.2
Same name and namespace in other branches
- 8.2 includes/schedules.inc \backup_migrate_schedule::get_last_run()
- 8.3 includes/schedules.inc \backup_migrate_schedule::get_last_run()
- 6.3 includes/schedules.inc \backup_migrate_schedule::get_last_run()
- 6.2 includes/schedules.inc \backup_migrate_schedule::get_last_run()
- 7.3 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 364
Class
- backup_migrate_schedule
- A schedule class for crud operations.
Code
function get_last_run($timestamp = NULL) {
return variable_get('backup_migrate_schedule_last_run_' . $this
->get('id'), 0);
}