Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-30-2005, 01:14 PM   #1
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
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You could add it to cron with a line like:
@reboot /my/command
Just use 'crontab -e' to edit your existing crontab.
Old 08-30-2005, 02:40 PM   #3
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,625

Rep: Reputation: 142Reputation: 142
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
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

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