Schedule R12.2 start/stop scripts in crontab

Question regarding scheduling of starting/stopping EBS R12.2 Application services  has been asked several times on forums. So i decided to write a quick post for demonstrating it.

In Oracle EBS there are consolidated scripts for starting  and stopping of multiple Application services. "adstrtal.sh" is used for starting all application services and "adstpall.sh" is used for stopping of other services.

These script will call other scripts Internally to perform start/stop operation.

Prior to EBS R12.2  you only need apps username and password to run this script. In EBS R12.2 you need a additional password parameter for weblogic admin server to start/stop of  EBS application services.

In EBS 11i/R12.1 script usage:

adstrtal.sh apps/apps  - Stop services
adstpall.sh apps/apps - Start services

In EBS R12.2 additional weblogic admin password should be provided:


- Similarly for stopping of services also you need to provide the weblogic admin server password.

Scheduling shutdown/startup in script:

We need to create a below small shell script to schedule it in a crontab for starting/stopping of services automatically.

You need to add web logic admin password in a new line to execute script successfully.



These scripts can be scheduled in  crontab as below for starting/stopping of services automatically:



Hope its helpful. 

thanks for reading :)

regards,
Zaheer


Comments

Unknown said…
Thank you for this, super helpful.
Do you get an error at all though?
I'm getting this in my script output:
stty: standard input: Inappropriate ioctl for device

Enter the WebLogic Server password: stty: standard input: Inappropriate ioctl for device

The script keeps on trucking and it seems like it works. Do you know if this is an actual error or just something that I should expect?
-jean
PRAD said…
Same issue with me. Can someone help me with this.
Blogger said…
Water Hack Burns 2lb of Fat OVERNIGHT

Well over 160,000 women and men are losing weight with a simple and secret "liquid hack" to drop 1-2 lbs each and every night as they sleep.

It is proven and works with everybody.

This is how to do it yourself:

1) Go get a glass and fill it up with water half full

2) And now do this weight losing HACK

you'll become 1-2 lbs thinner the very next day!

Popular posts from this blog

Disable Firewall on Oracle Linux 8

Installation of Oracle Applications R12.1.1 on Linux and vmware

Enable Desktop on Oracle Solaris 11.4