LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 12: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, 12:21 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 01:40 PM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646

Rep: Reputation: 146Reputation: 146
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, 12: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



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 04:21 PM
Linux CD boot process amnesty_puppy Linux - General 1 11-29-2004 06:41 AM
How to add script to boot process NetAX Linux - General 7 07-29-2004 03: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 02:22 AM
The boot process, need help! kalzanth Linux - Software 10 08-23-2002 05:25 PM

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

All times are GMT -5. The time now is 06:38 PM.

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
Open Source Consulting | Domain Registration