Cédric Buschini mentioned : => psql=`psql -h XXX.XXX.XXX.XXX. -U USER -D DATABASE -c 'SELECT COUNT(*) FROM '$3''` => => this is not perform using a call with crontab, but launching the script (./SCRIPT.SH) works... => => to check if it works, I added an echo $psql => => => Any ideas ??? psql=`psql -h XXX.XXX.XXX.XXX. -U USER -D DATABASE -c "SELECT COUNT(*) FROM '$3'"` ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly