code: def orphans(dburl, sitedir):
      
      oldcwd = os.getcwd()
      os.chdir(sitedir)
      db = StrictRedis.from_url(dburl)
      job = get_current_job(db)
      job.meta.update({'out': '', 'return': None, 'status': None})
      job.save()
      returncode, out = orphans_single(default_exec=True)
  
      job.meta.update({'out': out, 'return': returncode, 'status':
                       returncode == 0})
      job.save()
      os.chdir(oldcwd)
      return returncode
docs: Remove all orphans in the site.