Adding script start at boot

Home Forums MultiConnect OCG Adding script start at boot

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4813
    Vladimir Petrigo
    Participant

    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?

    #4814
    Bryan Tran
    Moderator

    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

    #4863
    Mark Gajdosik
    Participant

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.