Search Results

Search: Posts Made By: Hscript
Forum: Programming 11-02-2014
1,378
Posted By Hscript
How to set CLASSPATH part in unix:(
How to set CLASSPATH part in unix:(
Forum: Programming 10-21-2014
1,378
Posted By Hscript
Ntebeans but we did not compile in local
Ntebeans but we did not compile in local
Forum: Programming 10-20-2014
1,378
Posted By Hscript
Set java classes path
I add some new java jar files in the old project, how can I edit the class path?
How can I compile all the java classes by just type 'C':o
3,109
Posted By Hscript
How to call Oracle package in shell file?
How to call oracle package in shell file
in my shell file, I have
Export SQL FILE =$Home_dir select.sql

if I want to add call two function in package
how can I do it :(
1,650
Posted By Hscript
Thanks
Thanks
1,650
Posted By Hscript
Write whatever error in log file
Hi all,

I have
export LOG_FILE=$HOME_DIR/error.log
sqlplus -s /nolog << EOF
whenever sqlerror exit sql.sqlcode
@$HOME_DIR/connect.sql
whenever sqlerror exit sql.sqlcode
@$SQL_FILE
EOF...
1,610
Posted By Hscript
Thanks for all the replies! but I need the ...
Thanks for all the replies!
but I need the
if grep -wq "Hi" file && ! grep -wq "Hello" file
one kid of email
if grep -wq "Hi" file && grep -wq "Hello" file
other kind of mail

on meantime...
1,610
Posted By Hscript
Grep two word and one word with if
so far I have the following , it work,
if grep -w "Hi"\|"Hello" /home/my.log 2>&1 > /dev/null
then
EMAIL_ADDR="aaa@gmail.com"
echo "Please view the error messages on attached file " |...
1,607
Posted By Hscript
just select * from table student.test What user...
just select * from table student.test
What user do you connect with in each case?

/oracle DB
What rights to the table does that user have?
student account on DB environment
1,607
Posted By Hscript
Table or view is not exist
If I select the statement on db is ok, but same statement on UNIX script I get

table or view is not exist. what should I do?:(
1,000
Posted By Hscript
Thanks:)
Thanks:)
1,000
Posted By Hscript
does it try to rewrite the log file daily , can...
does it try to rewrite the log file daily , can I use that other way to overwrite the old log file , every time I run the unix script?:(
1,000
Posted By Hscript
What date > try to do?
on the script have one line of code , what it try to do?
date > ~/test/log/test_bat.log
1,434
Posted By Hscript
Thanks all:)
Thanks all:)
1,434
Posted By Hscript
Write Log per hour
Hi, the follow can add the day time to my Log file
My_Log_$(date +%F).log
can I add the hour to the end of my log file then my log file will looks like
My_Log_07-24:(:confused:
Showing results 1 to 15 of 15

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