LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   add a process to boot? (https://www.linuxquestions.org/questions/linux-newbie-8/add-a-process-to-boot-358529/)

alphamike 08-30-2005 12:14 PM

add a process to boot?
 
Does anyone know how i can have a specific program or process run automatically upon reboot of my system?

Matir 08-30-2005 12:21 PM

You could add it to cron with a line like:
Code:

@reboot /my/command
Just use 'crontab -e' to edit your existing crontab.

titopoquito 08-30-2005 01:40 PM

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]

Pratik H Pandya 09-06-2005 12:20 PM

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.


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