add protocol parsing
This commit is contained in:
6
get_last_proto.sh
Executable file
6
get_last_proto.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
read -s -p "DB-Passwort: " password;
|
||||
echo
|
||||
|
||||
echo $password | ssh fsmi "psql -A -t -h fsmi-db fsmi -c \"select protokoll from protokolle where ist_veroeffentlicht='f' order by datum desc limit 1\"" 2> /dev/null > data/last_proto
|
||||
|
||||
Reference in New Issue
Block a user