Since I do not want to bother anyone with a language other than English and by suggestion in the comments, I will try to make two versions of the answer, one in English and another in Spanish. Spanish since I assume (and it seems to me correctly) is the native language of the questioner and I want to explain in a fluent way for him.
You can define the PATH variable inside your script, and export them there.
In general, cronjobs run in a shell with a very small PATH. Inside your script define the PATH variable and add what is shown when executing in the terminal echo $PATH
Or something you can do is, if you already have the necessary configuration in your ~ /.bashrc, inside your bash script use source /home/your_user/.bashrc
And after defining your PATH variable in your script that you will run, define the variables that you put in your explanation, that is, you should have something like this:
#!/bin/bash
PATH=/usr/local/bin:/usr/bin:/bin
export ORACLE_HOME=/usr/lib/oracle/12.2/client64
export PATH=$PATH:$ORACLE_HOME/bin
export OCI_LIB_DIR=$ORACLE_HOME/lib
OCI_INC_DIR=/usr/include/oracle/12.2/client64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME
python your_program.py
Files like .bashrc and .bash_profile, are files that are read when you start a terminal, but in the case of a cronjob, these are not read (unless you allow it with the source /home/your_user/.bashrc) . The purpose of these files is that, before being inside bash, you have the configurations set as environment variables, aliases, etc. In a script that runs inside a cronjob you can do the same, declare the variables manually or load them with "source"
Now in Spanish.
No sé si te entendí bien pero, por lo que entendí, tienes un problema en el cual puedes ejecutar un script desde tu terminal, pero cuando tratas de ejecutarlo en un cronjob, te lanza el error descrito.
Puedes definir la variable PATH dentro de tu script, y exportarlas ahí mismo.
Por lo general los cronjobs se ejecutan en una shell con un ambiente muy reducido.
Dentro de tu script define la variable PATH y agrégale lo que se muestra al ejecutar en la terminal echo $PATH
O algo que puedes hacer es, si ya tienes la configuración necesaria en tu ~/.bashrc, dentro de tu script de bash usa source /home/tu_usuario/.bashrc
Y después de definir tu variable PATH en tu script que correras, define las variables que pusiste en tu caso, es decir, te tendría que quedar algo así
#!/bin/bash
PATH=/usr/local/bin:/usr/bin:/bin
export ORACLE_HOME=/usr/lib/oracle/12.2/client64
export PATH=$PATH:$ORACLE_HOME/bin
export OCI_LIB_DIR=$ORACLE_HOME/lib
OCI_INC_DIR=/usr/include/oracle/12.2/client64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME
python tu_programa.py
Los archivos como .bashrc y .bash_profile, son archivos que se leen cuando inicias una terminal, pero en el caso de un cronjob, estos no se leen (a menos que lo permitas con el source /home/tu_usuario/.bashrc). El fin de estos archivos es que, antes de estar dentro de una terminal, tengas las configuraciones establecidas como variables de entorno, alias, etc.
En un script que se corre dentro de un cronjob puedes hacer lo mismo, declarar las variables a mano o cargarlas con "source".