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