Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Running Pro*C App via Crontab
Insoo Kang wrote:
>
> Does anybody know how to set Oracle environment variables to a Pro*C
> application that will be executed via crontab? Thanks.
Sure, just have cron execute a shell script that initializes your environment and then calls your Pro*C executable. Something like this:
shell file runme.sh:
#!/bin/ksh
#
. /home/oracle/.kshrc <--- contains your environment variables
runme <--- your executable
-- John Verbil U S WEST Communications Information Technologies jverbil_at_uswest.com (303) 896-0916Received on Fri Jan 10 1997 - 00:00:00 CST