Assuming you are on a *nix machine and php is installed in /usr/local you could schedule a cron job with the command:

   /usr/local/bin/php  phpfile.php

   where phpfile.php is the file you want to execute.

Hope this helps.


Alexander wrote:
Is there anyway to auto execute a PHP file? I'm working on a script that tracks activity and IPs of visitors, and then at a certain time daily emails me the results.

Any idea of a way to do this?

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to