awips2/deltaScripts/17.1.1-p2/DR6224/CleaupISCWriteLocks.sh

5 lines
232 B
Bash
Raw Normal View History

2022-05-05 12:34:50 -05:00
#!/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 '%:%';"