code: def job_tail(job: str, tag: List[str], delay: int):
      """Tail job output"""
      jobs = util.get_jobs(job, tag)
      if len(jobs) > 1:
          click.echo(f"Selecting a job out of {len(jobs)}")
      job = jobs[0]
  
      _job = JOBS.by_key(job)
      logger.log(util.log_job(_job))
      _job.tail()
      if delay <= 0:
          return
      while not _job.stopped:
          with monit.section("rsync", is_silent=True):
              _job.server.rsync_jobs(
                  ui_mode=UIMode.none, is_silent=True
              )
          time.sleep(0.5)
          _job.update_stopped()
          _job.tail()
          time.sleep(delay)
  
file_path: labml/remote/labml_remote/cli/job.py
imports: import time
  from typing import List, Tuple
  import click
  from labml import logger, monit
  from labml.logger import Text
  from labml_remote.execute import UIMode
  from labml_remote.job import JOBS
  from labml_remote.server import SERVERS
  from .None import util
label_desc: Use image node_id 4 for calling a global function with example usage: job_tail(job, tag, delay) without return types