Adding script start at boot
- This topic has 2 replies, 3 voices, and was last updated 12 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › Adding script start at boot
Hello.
I have a question about adding my python script to start at boot. Because of I have a program which receive data from ZigBee modules. ZigBee coordinator are connected to the MTCDP-H5 via usb. It is not convinient to start my program by myself, because I’m going to place it on a streetlight. I try to add symlink to the /etc/init.d directoru and did the update-rc.d command, but nothing happend. Can you help me with my issue?
Hi Vladimir,
Did you look at the screen shots that I included in the case #5049707 ? The screen shots showed how to add a python script to start at boot.
Thanks,
BT
I find it quite easy to do this with cron.
Run crontab -e and add @reboot /usr/bin/python PATH-TO-YOUR-SCRIPT. Exit vi and reboot the device. Your script should be running.