You are here

function progress_set_progress_start in Background Process 8

Set progress start time.

File

progress/progress.module, line 72
Progress framework for keeping track of progresses. @todo Force MyISAM for table {progress} to avoid transaction/isolation level problems, and use INSERT DELAYED for performance.

Code

function progress_set_progress_start($name, $start) {
  return db_update('progress')
    ->fields([
    'start_stamp' => $start,
  ])
    ->condition('name', $name)
    ->execute();
}