Automatic startupΒΆ

To run a python script automatically when the machine starts

On macOS, CentOS, and Ubuntu:

sudo cp -i /path/to/sync_script.py /bin
sudo crontab -e
@reboot python /bin/sync_script.py &

On Windows 10:

Windows key + R
Type shell:startup
Drag and drop your python script into the open folder