9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a simple shell script, which starts from crontab like this:
00 03 * * 2-6 /export/applications/dte/sh/fwmarg.sh > /export/applications/dte/data/cron_log/fwmarg.cronlog.`date +\%m.\%d` 2>&1
The script doesn't get any argument. But inside it I see the line
... (10 Replies)
Discussion started by: digioleg54
2. UNIX for Dummies Questions & Answers
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
</sequence>... (1 Reply)
Discussion started by: sravanreddy
3. Shell Programming and Scripting
I have below sample script. I expect it print error when running script without input parameter. but the it doesn't.
would you please help me about this issue.
thanks in advance.
while getopts :f: arg
case $arg in
... (4 Replies)
Discussion started by: ken6503
4. Shell Programming and Scripting
I need a shell script, which would search the result values from another files.
1)execute " select column1 from table_name" query on the table.
2)Based on the result, need to be grep from .wft files.
could please explain about this.Below is the way i am using.
#!/bin/sh... (4 Replies)
Discussion started by: Rami Reddy
5. Shell Programming and Scripting
I Have written a script through that i am calling sql file
set time on
set timing on
set echo on
set head off
set scan on
set feedback on
set serveroutput on
set linesize 1000
BEGIN... (3 Replies)
Discussion started by: sujit_kashyap
As I'm new here, please forgive me if any rule violation occurred.
I have a script like this:
# Author : Saptarshi
# Date : 18-Mar-2011
# Version : 1.0
Return_op=`sqlplus -s <<ENDOFSQL
WHENEVER SQLERROR EXIT 1
set ... (1 Reply)
Discussion started by: saps19
7. Shell Programming and Scripting
echo "Inside something"
echo $1 $2
val=$(something "Hello " "world")
Inside somethingHello world
But it's not echoing. (4 Replies)
Discussion started by: cola
8. Shell Programming and Scripting
I have created a pl/sql block utilises dbms_output.put_line. This script works fine when I call from sqlplus ie sqlplus @./scriptname but when I embed it within my shell script I get no output to screen so I end up with an empty spool file. I know it's executing successfully when called from... (6 Replies)
Discussion started by: stuck1
9. Shell Programming and Scripting
I have the following crontab entry to run a shell script for every 30 minutes of every day:
30 * * * * $HOME/main.sh > $HOME/main.log 2>$HOME/error.log
after I created the crontab file I have also done:
I also check to make sure it exists, by using the following... (11 Replies)
Discussion started by: radhika