Start On Boot

Modify crontab to make Rascam start the camera program on boot. Steps are:

  1. Run the command.

sudo crontab -e

Note

At the first time you execute the command, you need to select an editor and then choose nano.

  1. Input the following content at the end of the file.

@reboot python3 /home/pi/rascam/example/take_picture.py

Note

This is the example of starting on boot (it can be modified to others). If you want to cancel the “start on boot”, back to the file and delete this line.

  1. Then save and exit and you should see the message.

crontab: installing new crontab
  1. Reboot.

sudo reboot