3 lines
145 B
Bash
Executable file
3 lines
145 B
Bash
Executable file
#!/bin/bash
|
|
printf -v id "%q" "$1"
|
|
psql -h pgsql.adm.crans.org -U crans django -c "DELETE FROM voip_history WHERE uniq_id='$id'" >> /tmp/history
|