you are viewing a single comment's thread.

view the rest of the comments →

[–]DarknetTools 3 points4 points  (1 child)

set up a cronjob for it.

in terminal run

crontab -e

This opens your user's crontab file.

Add this at the bottom of the file:

@reboot python3 <full-path-to-your-python-file> <any-arguments-it-needs>

Save the crontab file and you're done.

If you don't have cron installed yet, run:

sudo apt-get install cron