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: Crontab Fails to Execute Job

Re: Crontab Fails to Execute Job

From: Eric Junkermann <eric_at_deptj.demon.co.uk>
Date: Sat, 12 Sep 1998 16:41:52 GMT
Message-ID: <35f6e7bf.607453220@news.demon.co.uk>


On 1 Sep 1998 03:35:00 GMT, "Robert Alloway" <ralloway_at_voyager.co.nz> wrote:

>Hi ...
>
>I have developed a DEC C program to run on a Digital AlphaServer 4100 (DEC
>UNIX) which makes OCI calls. When run from the command prompt it executes
>just fine.
>
>When launched from CRONTAB (root) it fails with the following message;
>
> ORA-01019 unable to allocate memory in the user side
>
>Cause:The user side memory allocator returned an error.
>
>Action:Increase the size of the process heap or switch to the old set of
>calls.
>
>Any ideas on what this means ???
>
>Thanks
>
>Rob Alloway
>Data Engineering Limited
>Email: ralloway_at_voyager.co.nz

Rob,

crontab doesn't set up any environment before running the command it is given. So you need to write a shell script to do that and run your program. You could put an su - in the crontab, but I think it's better to go for the script because then you know exactly what you're running.

Eric. Received on Sat Sep 12 1998 - 11:41:52 CDT

Original text of this message

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