Access SQL with crontab

Hi,
I wrote a script shell whose function is to make a remove of directories depending on the result of a query on Oracle database.

When I execute my script shell directly from unix, it works fine. But, when I put it in a line of a crontab, it doesn't work no more, because of the sql request.(error 127)
Has anyboby an Idea ? thanks.
following is the line of the crontab used to test :

          • /dimdata/scripts/menage_dm

As always... FAQs is a good starting point.