I am using OCI CLI in ubuntu to automate a couple of things using crontab. While using and oci command,ex:
oci --help
I get a list of oci commands. However, as soon as I put it into a bash:
#!/bin/bash
oci --help
and do the crontab with log, I get the error message:
/home/ubuntu/lib/oracle-cli/bin/test: line 2: oci: command not found
Any ideas ?