Start a Program on Startup in Linux
the crontab way
as user
crontab -e- write
@reboot python /path/to/your/script.pyand save
as root
crontab -e- write
@reboot python /path/to/your/script.pyand save
the rc.local way
sudo sunano /etc/rc.local- write
python /path/to/your/script.pyat the bottom and save
the systemd way
- todo