Search Results

Search: Posts Made By: scorpio
8,161
Posted By scorpio
sorry replace ora_q001_DM2XDB with ur script name
sorry replace ora_q001_DM2XDB with ur script name
8,161
Posted By scorpio
Hi, Try something like this...( i have not...
Hi,

Try something like this...( i have not tested this code)

#!/bin/sh

./Set1.sh &
process_id_set1=`ps -ef | grep ora_q001_DM2XDB | grep -v grep | awk '{print $2}'`
./Set2.sh &...
8,161
Posted By scorpio
Hi , bundle the sets(A,B....) to one one...
Hi ,

bundle the sets(A,B....) to one one scripts and try...
For parallel running normally using "&" ..

for dependency wait command u can use..
Hope this will help


Regards,
2,004
Posted By scorpio
sorry .. This is the complete command ...
sorry ..

This is the complete command

sed -e 's/.*dist//' < testfile.txt | cut -d "_" -f1-4
2,004
Posted By scorpio
try sed commnad like this sed -e 's/.*dist//'...
try sed commnad like this
sed -e 's/.*dist//' < filename
3,090
Posted By scorpio
if u want to nullify the file use :>filename
if u want to nullify the file use
:>filename
4,976
Posted By scorpio
Thnks alot radoulov for ur detailed explanation
Thnks alot radoulov for ur detailed explanation
1,982
Posted By scorpio
Make two scripts and set it as a cronjob ...
Make two scripts and set it as a cronjob

Regards,
Scorpio
5,892
Posted By scorpio
Hi All, I tried "scp -p -B -q...
Hi All,

I tried "scp -p -B -q $FRONTEND_USER@$FRONTEND_SERVER ----------"

Its working for me .. thanks all

Regards,
Subin
5,892
Posted By scorpio
Hi , I did some google for "rsync" . But i...
Hi ,

I did some google for "rsync" . But i didn't get a clear picture for using rsync.
Can u please briefly explain that how can i implement rsync in my script.

Thanks and Regards,
Scorpio
5,892
Posted By scorpio
YEs , I tried nohup scp -B...
YEs , I tried nohup scp -B $FRONTEND_USER@$FRONTEND_SERVER:/REMOTEDIR/LOG_FILENAME.* . &

it is still prompting for enter key to press
5,892
Posted By scorpio
Hi , " You also created the keys without...
Hi ,

" You also created the keys without entering a passphrase, right? "
sorry :(
I didn't understand your question ?

While doing the SCP ommand without & , it will not prompt for enter key...
5,892
Posted By scorpio
Problem with SCP parellel processing
Hi All,

I am trying to take Bulk Log files from around 24 Remote servers using my shell script. I am using SCP for this. I need to take log files every 15 min, so I am thinking about the parallel...
12,193
Posted By scorpio
Thnks Era .. Its working fine for me
Thnks Era .. Its working fine for me
3,685
Posted By scorpio
Hi, Put some echo statements inside the...
Hi,

Put some echo statements inside the script for FTP_LOG ,START_DATE etc.. and for understanding run each command seperately (seperated by '|' )

It looks like printing the 9 th filed from...
17,883
Posted By scorpio
SCP multiple files
Hi ,

I am doing SCP for copying log files from different server(around 24 server)
I need to copy these bulk logfiles every 15 min.
How can i do multiple SCP at the same time?
My current code is...
12,920
Posted By scorpio
Thanks for the reply. HOw can i store the...
Thanks for the reply.

HOw can i store the output to a shell variable ?
12,920
Posted By scorpio
Problems with SQLPLUS in shellscript
Hi All,

I need to run one sql query from my shellscript.

query is something like this

SELECT DISTINCT 1 FROM ******* WHERE ***** ('CRE','CRA')
AND TO_CHAR (***** , 'DD:MM:YYYY') = TO_CHAR...
46,028
Posted By scorpio
Hi All, I tried Franklin's code 5 * * *...
Hi All,

I tried Franklin's code

5 * * * * /tmp/scripts/ksh/CsVues_H.sh $(date +\%Y\%m\%d_\%H) >> /tmp/scripts/ksh/Cronresult.log

Its working ....

And thanks to all for the help ....
46,028
Posted By scorpio
No. Because some times i need to run the...
No.
Because some times i need to run the scripts mannualy also with differnt times ...
46,028
Posted By scorpio
passing date parameter in cronjob
Hi All,

I have a crontab entry for every 5 min running.

5 * * * * /tmp/scripts/ksh/CsVues_H.sh `date +%Y%m%d_%H` >> /tmp/scripts/ksh/Cronresult.log

and I am passing the date parameter. (...
27,586
Posted By scorpio
Hi All, Annihilannic solution worked...
Hi All,

Annihilannic solution worked perfectly ...

Thanks all

Thanks and Regards,
Scorpio
27,586
Posted By scorpio
Commenting xml file lines
Hi ,

I have a XML file like this

<dependency>
<groupId>fr.xxxx.portail.ear</groupId>
<artifactId>_xxxEAR</artifactId>
<version>1.0.0-20xxxxx.xxxxx-x</version>
...
11,857
Posted By scorpio
While trying to save, Following error i am...
While trying to save, Following error i am getting

"/tmp/crontab.XXXXSqLQDG":4: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit?

....

If i am doing...
11,857
Posted By scorpio
crontab in every 05,20,35,50 min
Hi ,

How can i set a cronjob which needs to run every 05,20,35,50 min .
I tried 05,20,35,50 * * * * /exec/eerrtis/tttttk/AOOK00000/bin/Packing.sh.. but its giving error while saving the crontab...
Showing results 1 to 25 of 38

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