#!/bin/bash tcid=$1 timestamp=$(date +%s) if [ -z "$tcid" ]; then echo please supply tcid exit 1 fi psql tvguide uktivo <