#!/bin/bash

export PGPASSWORD="SQL1185"
export PGCLIENTENCODING="LATIN1"

wd=/var/scripts/facturation_appels_facturation/purge
cd $wd

echo "`date` : debut"
echo "  `date` : application des CGV editeurs"
psql -d flinteractive -h 51.38.181.205 -U postgres -f $wd/traitement.sql
echo "`date` : fin"

