Run python script at bootup


#1

Hello,

I’m trying to run a python script at system startup. I’ve entered a crontab but it doesn’t seem to start. The script starts fine like normal when I enter it into the terminal. Does it look like I have something wrong with the format of my crontab?


#2

Suggest searching two subjects when crontab cmds fail: the cron log, and cron execution environment(path).

Also be careful of which crontab you edit, sudo crontab -e is different without the sudo but looks the same when you do it.