Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: cron scripting of sql*plus
akkha_at_my-deja.com wrote:
>
> Most probably your environment is not set up properly.
> Run env in your script and then run env in your
> UNIX environment and compare. You may add a line, say,
> . $HOME/.profile in your script (for ksh).
>
> Anthony
Probably not a good idea. .profile scripts normally contain terminal-related commands and cronjobs will choke on these. It would be better to make a standalone script that contains the proper initializations and invoke that script from both .profile and from the cron jobs. Received on Wed Jan 24 2001 - 07:37:02 CST