code: def _register_self(self, logfile, key=JobDetails.topkey, status=JobStatus.unknown):
          
          fullkey = JobDetails.make_fullkey(self.full_linkname, key)
          if fullkey in self.jobs:
              job_details = self.jobs[fullkey]
              job_details.status = status
          else:
              job_details = self._register_job(key, self.args, logfile, status)
docs: Runs this link, captures output to logfile,
          and records the job in self.jobs