input: from typing import Tuple
  import psycopg2
  from datetime import datetime, timedelta
  import schedule
  import time
  
  def refresh_table(connection_params: Tuple[str, str, str, str, str], table_name: str) -> None:
      """
      Refreshes a given table of data in a PostgreSQL database every 5 minutes.
      
      Args:
      - connection_params (Tuple[str, str, str, str, str]): A tuple containing the connection parameters in the order (host, database, user, password, port).
      - table_name (str): The name of the table to be refreshed.
      
      Returns:
      None
      
      Example Usage:
      >>> refresh_table(("localhost", "db", "user", "password", "5432"), "TableName")
      """
  
      conn = psycopg2.connect(
          host=connection_params[0], 
          database=connection_params[1], 
          user=connection_params[2], 
          password=connection_params[3],
          port=connection_params[4]
      )
  
      def refresh_data():
          cur = conn.cursor()
          query = f'REFRESH TABLE "{table_name}";'
          cur.execute(query)
          conn.commit()
  
      # run the refresh_data job every 5 minutes
      schedule.every(5).minutes.do(refresh_data)
  
      while True:
          schedule.run_pending()
          time.sleep(1)
output:     conn.close()