]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/job.c
26May06
[bacula/bacula] / bacula / src / dird / job.c
index 339fb408440e625d7e7a5707915fecbdcad288a7..511581d3874f20f2053922bac8305da6bf5edd07 100644 (file)
@@ -275,6 +275,8 @@ static void *job_thread(void *arg)
        *  in the next job run because in that case, their date
        *   is after the start of this run.
        */
+      jcr->start_time = time(NULL);
+      jcr->jr.StartTime = jcr->start_time;
       if (!db_update_job_start_record(jcr, jcr->db, &jcr->jr)) {
          Jmsg(jcr, M_FATAL, 0, "%s", db_strerror(jcr->db));
       }