Computing.Net > Forums > Programming > execute a shall file when linux start up

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

execute a shall file when linux start up

Reply to Message Icon

Name: fnur101
Date: June 29, 2009 at 10:38:28 Pacific
OS: redhat linux
Product: Oracle / 10g
Subcategory: Batch
Comment:

i use oracle 10g database,application server & report server in red hat linux. each time i have to execute 3 shall file to start the 3 different server. is it possible when i start the linux the 3 command server start autometicall? and when i shutdown the linux the 3 shall shutdown auto?



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: June 29, 2009 at 11:44:29 Pacific
Reply:

Automatically executing command is done with run levels and the rcX.d directories.

Name your scripts similar to ones already on your host

SXX_something is a startup script with the next two numbers determining the order within that run level.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: execute a shall file when linux start up

Load a batch file as a TSR www.computing.net/answers/programming/load-a-batch-file-as-a-tsr/8704.html

Delete blank lines from a text file www.computing.net/answers/programming/delete-blank-lines-from-a-text-file/14525.html

JWSDP 1.2...Deploytool? www.computing.net/answers/programming/jwsdp-12deploytool/7519.html