Make PHP Script Run On Server Every Minute Automatically?

I’m trying to make a script that will monitor a certain site (eg: weather forecast) and if it contains a certain value then the script must email me.
I want this script to continually run, but without me having to open it in my web browser.
So is it possible to make the script execute on the server every 1 minute or so?
If not in PHP, then what language is this possible in?

Yes it is possible to any script at any defined time. You just have to place the script you want to run on a scheduled basis on the cron job.

Here are some links to get you started:

What is a cronjob, and how do I use it?

Introducing Cron

You can do it with a PHP script, although the actual timing would need to be done by the operating system. On Linux, set up a cron job; on Windows, a Scheduled Task. In this case, it’d probably be better to use PHP’s command-line interpreter, but it’s possible still to have your cron job or scheduled task open up an HTTP connection to your script on a web server somewhere.

Just so you know ahead of time, some ISP’s don’t like cron jobs that often. My host for example only allows cron jobs to be run every 15 minutes at the least. Might want to check your TOC before you setup a per-minute action.


Thanx for the help.
How would I setup the cron job if I’m using GoDaddy shared Linux hosting?