Re: Autorunning a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux