awips2/deltaScripts/17.1.1-p2/DR6224/CleaupISCWriteLocks.sh
2022-08-04 12:40:13 -05:00

4 lines
232 B
Bash
Executable file

#!/usr/bin/bash
# This script removes obsolete ISC Write Lock records from the cluster_task table
#
/awips2/psql/bin/psql -U awips -d metadata -c "delete from cluster_task where name = 'ISC Write Lock' and details not like '%:%';"