January 9, 2023

Shell Script to run preclone on appstier in EBS R12

 

Shell Script to run preclone on appstier


vi /backup/appspreclone.sh

#!/bin/bash

. /RUP10F/apps/apps_st/appl/APPSUAT_ccuine18.env   #This is apps env file

cd /RUP10F/inst/apps/UAT_ccuine18/admin/scripts

perl adpreclone.pl appsTier <<EOF   #Provide apps password as per your env

appsuat

EOF

 

$ chmod 775 /backup/appspreclone.sh

 

Now schedule it in crontab

crontab -e

1 0 * * * /backup/appspreclone.sh

 

 

 

No comments:

Post a Comment

How to Change MAX_STRING_SIZE in a PDB (Oracle 19c Step-by-Step Guide)

  Changing MAX_STRING_SIZE in a PDB (What Worked for Me) I recently had to deal with a requirement where the application team wanted to st...