I created an application that needs to be run on linux running crontab. An error occurred while trying to connect to the oracle database: it returned SQLO_INVALID_DB_HANDLE. But if you start it manually, everything will be fine.
SQLO_INVALID_DB_HANDLE
I am sure there are no path related errors because everything is going well except connecting to the Oracle database. Oracle8 functions are used in my code.
thank
Oracle uses a couple of environment variables such as ORACLE_HOME, TNS_HOME, ORACLE_SID. They may not be available in your crontab environment.
Source: https://habr.com/ru/post/1731838/More articles:Как кодировать/декодировать CFUUIDRef в Objective-C - guidBlackBerry - What returns getPreferredWidth () and getPreferredHeight ()? - user-interfaceChange back button to go back - javascriptsql query adding column values - sqlHow can I get around the method execution in the RhinoMocks layout? - c #Google Calendar (shared) - javaSimple hidden field in non-model form - ruby-on-railsJava Swing: separating UI component from logical behavior - how do you approach this? - javaAdd-in for .NET Application - .netWindows Routing API: What API calls are needed to create a managed version of route.exe for Windows? - c #All Articles