LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2005, 01:14 PM   #1
alphamike
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
add a process to boot?


Does anyone know how i can have a specific program or process run automatically upon reboot of my system?
 
Old 08-30-2005, 01:21 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
You could add it to cron with a line like:
Code:
@reboot /my/command
Just use 'crontab -e' to edit your existing crontab.
 
Old 08-30-2005, 02:40 PM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,594

Rep: Reputation: 125Reputation: 125
Another choice would be to add a line in your local init files. In Slackware it's called rc.local, don't know what it is called in [insert your distribution here and please update your profile with this info]
 
Old 09-06-2005, 01:20 PM   #4
Pratik H Pandya
LQ Newbie
 
Registered: Jun 2005
Location: India
Distribution: RedHat 9.0,Fedora core 3
Posts: 22

Rep: Reputation: 15
Hi
in /etc/ac.d folder you will find rc.local file that is executed last after all script are executed you can put your program path overthere.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux boot up process Vs. Windows boot up process darkskull Linux - Software 7 12-30-2006 05:21 PM
Linux CD boot process amnesty_puppy Linux - General 1 11-29-2004 07:41 AM
How to add script to boot process NetAX Linux - General 7 07-29-2004 04:52 PM
How to add a boot record which used to startup windows under my Grub boot loader? yunxiang Linux - Newbie 6 02-01-2003 03:22 AM
The boot process, need help! kalzanth Linux - Software 10 08-23-2002 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration