Q:

constantly run python script

I have a python script that texts me when something changes on a website. How can I put this on a server so that it is checking 24/7 without me having to keep my laptop open? Any tutorials or documentation would be good.
I have searched for ways to do this everywhere, but can't really find much. I see that php could be used to do it, but I'm not sure if this is the best way.

A:

You need to set up a cron job. "Cron" is a time based job scheduler.  
Ex: 
11 2 * * * /path/to/bin/python /path/to/cronjobs/sent_text.py

This Cron will run once an hour on the hour
Here is a Cron Job Tutorial

