This is more or less for the next time I lose all my brain cells from not working over the weekend….
Critical Oracle variables:
- ORACLE_HOME
- ORACLE_SID
Pretty much any script that deals with Oracle needs the value of these.
Cron doesn’t have these variables, so use export VARIABLE to provide them to the shell. Also, “export VARIABLE=value” doesn’t seem to work. So use “VARIABLE=value; export VARIABLE”.
Oh, the joys of shell scripting.
🙂
Leave a Reply