Doubt with How to run an application automatically?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Doubt with How to run an application automatically?
# 1  
Old 03-18-2009
Doubt with How to run an application automatically?

Dear sir,
I want to know if i shut-down my system and while starting it next time
automatically one application starts running, Is there any way?

I an using Suse linux OS.
PLz Help me!
# 2  
Old 03-18-2009
in solaris we store scripts in /etc/init.d directory for starting up a application when the system starts.

So you can create a script to start ur application and place it in the dir

/etc/init.d
# 3  
Old 03-20-2009
init.d is right but I am trying rc.d to do the same in Suse linux.

but i don't know how to use rc and what rc is?
Image
# 4  
Old 03-20-2009
Rule #4: Do not bump up your questions.

In Linux, the init scripts usually reside under /etc/init.d (sometimes /etc/rc.d/init.d). rc[0-6].d contain symbolic links to those scripts telling init which scripts to run and in what order, for each runlevel (0 to 6). rcS.d contains the scripts for single user mode (rescue/repair mode)
# 5  
Old 03-20-2009
Quote:
Originally Posted by pludi
Rule #4: Do not bump up your questions.
[...]
Duplicate posts deleted.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run script automatically every 12 hour once?

Hi ! all, I have once script to remove temporary cache and temporary xml files looks like this, as it is taking more space, I would like to run automatically every 12 hour once, and then I want to receive some log as acknowledgement #!/bin/sh echo "Removing logs and temp files (typically... (4 Replies)
Discussion started by: Akshay Hegde
4 Replies

2. Shell Programming and Scripting

How to run a script automatically

Hi All, How can i run a script every week automatically. Thanks & regards, Sam (5 Replies)
Discussion started by: sam25
5 Replies

3. Shell Programming and Scripting

Automatically run bash script

Hi! I want to run/execute a bash script automatically everytime when a specific file is created or when its timestamp changes. Is this possible? How? Thank you very much for your answers in advance, Regards, Christoph (1 Reply)
Discussion started by: ckofler
1 Replies

4. Shell Programming and Scripting

how to run shell script automatically

hi , i m trying to run bash scrip automaticially but i dont know how i can do this an anybody tell me how i can autorun shell script when i logon . thanks (9 Replies)
Discussion started by: tahir23
9 Replies

5. Solaris

Java application getting killed automatically in Solaris

Hi to all, I have developed a Java application for Solaris 10. I am uing JDK 5. But it is getting killed after some time. And at the terminal, I got message as Killed. I am new to Solaris. Can anybody help me? (3 Replies)
Discussion started by: ashish.nijai
3 Replies

6. Shell Programming and Scripting

run a command automatically after every 10 mins

Hi friends, I need to write a script which runs a command (on that particular server only) after every 10 mins, and the contents are also echoed on that very terminal only. And then I need to compare the last two outputs, and mail if there is any difference in the last two outputs. Can we set... (4 Replies)
Discussion started by: vikas027
4 Replies

7. UNIX for Dummies Questions & Answers

how to run a Script automatically

How to make a script run automatically using a cron?? i do not know abt cron...... if i have simple.sh file and i need this to run everyday at a particular time what needs to be done thanks in advance (4 Replies)
Discussion started by: hamsa
4 Replies

8. UNIX for Dummies Questions & Answers

How to run three scripts one after another automatically???

Hi !! How do u run three scripts one after another automatically using crontab command at some specified regular interval. Say i have three scripts A,B,C and i want to run the three scripts A followed by B followed by C. REQUIRE HELP URGENTLY Thanks in advance Arunava . (3 Replies)
Discussion started by: arunava_maity
3 Replies

9. UNIX for Dummies Questions & Answers

How to run a script automatically ?????

Hi All, How to run a script automatically using cronjob everyday from Monday to Friday 9A.M to 5P.M at an interval of ONE HOUR.I want the complete syntax means how to put in the cron job and there after. URGENTLY NEED HELP THANKS IN ADVANCE CHEERS Arunava (7 Replies)
Discussion started by: arunava_maity
7 Replies
Login or Register to Ask a Question