I have a process running from cron, it connects to database through ODBC functions.
The program works perfectly if I run it from console, but from cron runs and does not connect to the database, I tried using a script and still connect. Verify that the script will do the export PATH with the path to the odbc.ini (export PATH: / etc: $ PATH) and environment variables SQLCONNECT and SqlClient.
I tried exporting the PATH all default routes and nothing. Please if anyone knows what may be failing, I appreciate your answers.
Mitzamar Cardozo, Venezuela