#Raspberry Pi Setup#

#first go into terminal (e.g. with str + alt + T)#
#type in terminal to open scheduler#
sudo crontab -e

#in crontab type the following row at the end of file to set times for automatic shutdown#
@reboot sudo /usr/bin/sudo /sbin/shutdown -h +5   #(##### TURN OFF IN CRONTAB IF YOU BOOT INTO DESKTOP, or else get stuck at "failed to authenticate" #####)

#type the next line, too, to start actual data capture program#
@reboot sudo /usr/bin/python3 /home/pi/camera_pi/video_capture_rain.py    


#--> if something fails# 
alt + print screen + K