Executing set of sh files at system startup

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Executing set of sh files at system startup
# 1  
Old 05-15-2007
Executing set of sh files at system startup

Hi Everybody

I am totally new to Linux.
We are using Suse Linux version 9.
Currently we have 4 to 5 shell scripts which needs to be executed manually by the users.I want these scripts to be run automatically when system starts...something like system startup service.

When system is shutdown, all these process should be shutdown normally without any problem.

At the sametime ,if i want to start or stop those processes through User interface(Java Swing based application), i need a way to do the same .

we hav developed application in Java which is running on Linux platform.
# 2  
Old 05-15-2007
duplicate post - pls read the rules
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Set -n doesn't stop executing

When I do "set -n" or "set -o noexec" the shell doesn't do what it sould. Infact if I check: $: set -o .... noexec off .... f ...instead I can set normally the other option. Who Knows what could be up? (2 Replies)
Discussion started by: flaviofachin
2 Replies

2. Shell Programming and Scripting

how to delete files at booting of system (system startup)

hi all I have a problem how to write a shell script which delete files/folder form directory whenever system boot and copy last updated folder/file in the specified directory.pse help me ASAP. i write a script which copy files in directory.I want when system boot up using script it check whether... (1 Reply)
Discussion started by: shubhig15
1 Replies

3. Solaris

Mountall error at system startup

Hi I have SVM on my Solaris 10 5/08 SPARC with the following configuration: d1: Mirror Submirror 0: d11 State: Okay Submirror 1: d12 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size:... (2 Replies)
Discussion started by: Sapfeer
2 Replies

4. Shell Programming and Scripting

Executing a command at startup

Hey all, How do I execute a file at startup automatically. From what I've read is that I need to put it into my .bashrc file. I'm not sure where to go from there. Can I just type commands into that and they'll run next time I restart my server? Right now I have added these lines: cd... (2 Replies)
Discussion started by: NathanWarden
2 Replies

5. HP-UX

Executing a script at startup

Hi, I want a script to execute as soon as a user logs in(instead of directing to his home directory). i know that i have to mention the path of script in the user's .profile to execute this, but not sure where and what to edit. I just tried and was unsuccesful. Kindly provide the code that i... (4 Replies)
Discussion started by: sridharr83
4 Replies

6. Solaris

stop a process to start at system startup

Hi all! I'm running Solaris 10 and have a question about how i can stop a certain program to start at system startup,for example, as it is now sendmail is starting but i don't need sendmail,on the other hand so would i be very glad to get cups up and running at startup, anyone who can explain where... (3 Replies)
Discussion started by: larsgk
3 Replies

7. UNIX for Advanced & Expert Users

AIX 5.3: Start Service on System startup

Hi, I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX? Greetings, Dennis (1 Reply)
Discussion started by: dennis.kuehl
1 Replies

8. AIX

Not executing during startup

I have a command in my iniitab as follows: dsmc:2a:once:/usr/tivoli/tsm/client/ba/bin/dsmc sched > /dev/null 2>&1 But the command doe not appear to execute during a system boot. Not sure why. I am running AIX 5.1 Thanks for the help Mike (2 Replies)
Discussion started by: mhenryj
2 Replies

9. UNIX for Dummies Questions & Answers

System Startup Time

Hi all, Can anyone tell me how to find the System Startup time. Currently I am using "who -b" to get last reboot time. I wanted to know is there any log file for SCO Openserver 5, in which all this sort of imformations are kept. I have tried searching the forum with words like "WHO... (6 Replies)
Discussion started by: shoeb_syed
6 Replies

10. UNIX for Dummies Questions & Answers

How can I add my own service when system startup?

Hi All, My OS is redhat 7.1. How can I start my own service (e.g. simple scripts) when the system is started? I found something like /etc/rc.d, /etc/rc.init ... But I have no idea on them, have anyone can help me? regards wilson (6 Replies)
Discussion started by: wilsonchan1000
6 Replies
Login or Register to Ask a Question