I want to run /home/myuser/go.py
How do I make that run in the background, everytime my linux machine boots up?
feedback
|
This question came from our site for professional and enthusiast programmers.
|
You can put a script in the http://www.debian-administration.org/article/Making_scripts_run_at_boot_time_with_Debian | |||||||||
feedback
|
|
There are many ways to do this (depending on which distribution of linux you are using there are different tools that are offered). The easiest way is simply adding the script to /etc/init.d and then running the command
If you already set up the service, you may also do so via the chkconfig command (that is if the command is available). In that case, this command should work:
Check out THIS WEBSITE, more specifically the "Using chkconfig to Start Daemons at Each runlevel" and "Using sysv-rc-conf to Start Daemons at Each runlevel" sections. | |||
|
feedback
|
|
cron has a special A normal cron task might be:
A
| |||
|
feedback
|