Search Results

Search: Posts Made By: dbchud
9,816
Posted By dbchud
You're right, I had to edit it to keep it...
You're right, I had to edit it to keep it confidential (although, no one could really do anything by just knowing the dir and script name I guess...).

Other than <directory> and <scriptname>,...
9,816
Posted By dbchud
It seems permission related to me (think someone...
It seems permission related to me (think someone else said it could be that above).

I'm not at my work PC atm, but the output of crontab -l is...

35 14 *** /directory/<scriptname>
9,816
Posted By dbchud
Cheers for the feedback. I'm working on...
Cheers for the feedback. I'm working on something else at the moment (hurrah for priorities), but I'll come back to this ASAP, sometime tomorrow.

Thanks again.

---------- Post updated 05-13-11...
9,816
Posted By dbchud
I can run my script at command line with no...
I can run my script at command line with no problems, is that what you mean?
1,508
Posted By dbchud
I use VMWare with Solaris, seems to work OK
I use VMWare with Solaris, seems to work OK
9,816
Posted By dbchud
Crontab on AIX
Hi

I'm trying to set up a crontab on AIX and for some reason it's not running my script at the specified time - here's what I have tried so far:



30 14 * * * <scriptname>
35 14 ***...
1,466
Posted By dbchud
Hi I added the above to my script, however...
Hi

I added the above to my script, however it didn't do anything (i.e. no ERRORS within my new log file, however there are errors in update.logs).

The script doesn't error, just hangs at...
1,466
Posted By dbchud
Pulling x number of lines from one file and save into another
Hi,

I have a log file (updates.log), and I want to hunt the file for any errors. Here's an example of the log file:

SQL> update <table1> set <value1> = '*****';
update <table1> set <value1>...
15,107
Posted By dbchud
Resolved, cheers everyone
Resolved, cheers everyone
15,107
Posted By dbchud
@Corona688 - I created a new script, the content...
@Corona688 - I created a new script, the content is:

#!/bin/sh

ORACLE_HOME=/apps/oracle/10.2.0.4
export ORACLE_HOME

sqlplus u/p@sid <<selectupdate
spool selectupdateX.txt
@<script>.sql;...
15,107
Posted By dbchud
Okay thanks for the feedback. I'm off now but...
Okay thanks for the feedback. I'm off now but will be picking this up first thing tomorrow morning.

Looking forward to nailing this... !! :)
15,107
Posted By dbchud
@ Peasant - Tried that, although it gives the...
@ Peasant - Tried that, although it gives the same result as some of my previous attempts. A file is produced and the content is:

SQL> @scrambler_SELECT_UPDATE_V0.4.sql
93 EOF
94 ...
15,107
Posted By dbchud
Good point, I didn't think of...
Good point, I didn't think of that.................

I don't understand why it's gerating that error; I don't believe that I'm ever setting "selectupdate" as a file or directory.
15,107
Posted By dbchud
Thanks for the suggestion. Here's an update of...
Thanks for the suggestion. Here's an update of my code:
sqlplus user/password@SID <<selectupdate > selectupdate.txt
set heading off
spool selectupdateX.txt
@<select_script>.sql;...
15,107
Posted By dbchud
Running a select script through UNIX and sending output to file
Hi,

(Oracle, AIX)

I have googled this and searched this forum, however I haven't had much luck with an answer and have tried several different things.

Basically I have a SQL select...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy