input: Write a function to create a Python script that will refresh a given table of data in a PostgreSQL database every 5 minutes. The function should take the table name as an input string. The script should establish a connection to the database using specified credentials and refresh the table.
  
  def refresh_database_table(table_name):
      import psycopg2
      import schedule
      import time
  
      conn = psycopg2.connect(
          host="localhost", 
          database="db", 
          user="user", 
          password="password"
      )
  
      def refresh_data():
          cur = conn.cursor()
          query = f'REFRESH TABLE "{table_name}";'
          cur.execute(query)
          conn.commit()
  
      # Schedule the refresh_data job to run every 5 minutes
      schedule.every(5).minutes.do(refresh_data)
  
      while True:
          schedule.run_pending()
          time.sleep(1)
  
  assert refresh_database_table("Customers")
output: def refresh_database_table(table_name):
      import psycopg2
      import schedule
      import time
  
      conn = psycopg2.connect(
          host="localhost", 
          database="db", 
          user="user", 
          password="password"
      )
  
      def refresh_data():
          cur = conn.cursor()
          query = f'REFRESH TABLE "{table_name}";'
          cur.execute(query)
          conn.commit()
  
      # Schedule the refresh_data job to run every 5 minutes
      schedule.every(5).minutes.do(refresh_data)
  
      while True:
          schedule.run_pending()
          time.sleep(1)