Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get python script to run on boot up in mac

Tags:

python

macos

boot

How would I get a python script to run everytime the computer boots?

like image 926
a sandwhich Avatar asked Oct 13 '22 19:10

a sandwhich


1 Answers

How to run a shell script on startup (OSX)

And in that script just call your program

python path/to/yourScript.py

EDIT: Since 2010 the above link has gone sour. But also since 2010 have some answers popped up the describe similar methods, eg.

Running script upon login mac

How to get shell scripts to run on startup - Yosemite

like image 66
William Avatar answered Oct 18 '22 03:10

William