#!/bin/sh # launcher.sh # navigate to home directory, then to this directory, then execute python script, then back home # Add the following to the crontab (crontab -e) for run at startup # @reboot sh /home/pi/Downloads/launcher.sh >/home/pi/logs/cronlog 2>&1 cd / cd home/pi/Downloads sudo python hello.py