public function get_start_time()
{
if (!file_exists($this->get_status_filepath())) {
return 0;
}
$status = json_decode(file_get_contents($this->get_status_filepath()));
if (!empty($status->started) && (int) (string) $status->started === $status->started) {
return $status->started;
}
return time();
}