[PHP-DB] Autorunning a file

2007-10-09 Thread Alexander
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 (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP-DB] Autorunning a file

2007-10-09 Thread Chris
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? Use cron if you're on a linux/bsd based system or scheduled tasks if you're on

Re: [PHP-DB] Autorunning a file

2007-10-09 Thread Dustin Simpson
Alexander, 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. Thanks, --Dustin Alexander wrote: Is there anyway

RE: [PHP-DB] Autorunning a file

2007-10-10 Thread Lasitha Alawatta
hp-db@lists.php.net Subject: [PHP-DB] Autorunning a file 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 (http://w

Re: [PHP-DB] Autorunning a file

2007-10-10 Thread Alexander
AIL PROTECTED] Sent: Wednesday, October 10, 2007 7:34 AM To: php-db@lists.php.net Subject: [PHP-DB] Autorunning a file 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 ide