Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Paul.S
1,948
Posted By Paul.S
script dont' break out
I have concurrent manager stop and check to verify all the process are stopped BUT even after all the process are stopped query script continues to run without break out.

# stop the concurrent...
1,693
Posted By Paul.S
Thanks vgersh99. [ SPACE code SPACE ] ...
Thanks vgersh99.

[ SPACE code SPACE ] how that make such big difference.
1,693
Posted By Paul.S
Thank you for quick reply I tried that already...
Thank you for quick reply I tried that already and error message is as below


SPOOL_FILE="$APPLTMP/stop_cm_$TWO_TASK.tmp"
while : ; do
sqlplus -silent $DB_USER/$DB_PSWD << EOF
spool...
1,693
Posted By Paul.S
if $RETURN_VAL1GUE -ne 0;
Hello,

Below script errors out and I don't know if because command is not compatible with Linux OS version.


# stop the concurrent manager
$COMMON_TOP/admin/scripts/$CONTEXT_NAME/adstpall.sh...
23,177
Posted By Paul.S
Thank you very much avronius! Your script...
Thank you very much avronius!

Your script worked like a charm.

I just followed your procedure and created crontab and was able to enable and disabled the cron schedule.


00 11 * * 3...
23,177
Posted By Paul.S
Thank you for suggestion. Will it be possible to...
Thank you for suggestion. Will it be possible to guide sample scripts? Not much background on shell script writing. Regards

---------- Post updated at 10:19 AM ---------- Previous update was at...
23,177
Posted By Paul.S
temporarily suspend crontab
Issues:
Cron jobs are running everyday at 8PM to hot backup database, archivelog, and some other files.

Sometimes crontab scheduled backups need to be suspended for some other tasks randomly but...
2,745
Posted By Paul.S
Thank you! I found the mistakes on my script. ...
Thank you! I found the mistakes on my script. :D
2,745
Posted By Paul.S
When I run following command #!/bin/sh ...
When I run following command
#!/bin/sh

TAPE_LIST="usr/local/bin/archbakTST/BACKUP_TAPES"
. /$TAPE_LIST

echo "sudo -u root /usr/bin/rsh remote.server.com /opt/omni/bin/omnib -datalist...
2,745
Posted By Paul.S
Passing info from other file into command
I created file called "tape_name" which contains

tape_mon_A="TAPE_MON_A"
tape_tue_A="TAPE_TUE_A"
tape_wed_A="TAPE_WED_A"
tape_thr_A="TAPE_THR_A"
tape_mon_B="TAPE_MON_B"...
6,475
Posted By Paul.S
crontab every other week
I have two sets of tapes for each week days.

Mon_Set_A ____________Tue_Set_B
Tue_Set_A ____________ Tue_Set_B
Wed_Set_A ___________ Wed_Set_B
Thr_Set_A ____________ Thr_Set_B
Fri_Set_A...
3,597
Posted By Paul.S
Cron schedule for ever other week
I have cron scheduing that after hotbackup omniback kicks in and back up tape.

00 17 * * * /usr/local/bin/archbakPRD/mainPRDbackup.sh > /usr/local/bin/archbakPRD/dbfcopy.log 2 >&1

above cron...
Showing results 1 to 12 of 12

 

Featured Tech Videos

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