Most (but not all) Unix servers allow you to run php on the command line. You can make a cron job that triggers:
php /path/to/the/filename.php
This is nice because you can put the PHP file in any directory, even one that is not exposed to the Internet.