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 Patch Oracle 19c to Release 19.30 on Windows – A Complete Step-by-Step Blog

  As soon as   Oracle released quarterly patch for Jan 2026 , I had to patch one of my Oracle 19c databases from 19.25 to 19.30. Since this ...