Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Running Pro*C App via Crontab

Re: Running Pro*C App via Crontab

From: John Verbil <jverbil_at_netmail.mnet.uswest.com>
Date: 1997/01/10
Message-ID: <32D6F167.2D62@netmail.mnet.uswest.com>#1/1

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-0916
Received on Fri Jan 10 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US