Date: 08/09/00
- Next message: Matthew Lautz: "[PHP] MySQL and PHP"
- Previous message: Doug Semig: "Re: [PHP] A High Profile PHP Site"
- In reply to: Ralph Guzman: "[PHP] mySQL Query"
- Next in thread: Ralph Guzman: "[PHP] mySQL Query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ralph -
RG> 1. What is the best way to do this? Do I have to write this logic in my PHP
RG> code, or can it be handled by a mySQL query.
You could simply SELECT your data from the table according to the date
you want to process.
RG> 2. Will I need to compile the cgi version of PHP so that I can run a cron
RG> job everyday?
There's no need to have PHP as CGI to run a PHP script as a cron job.
If you have PHP as a module, use lynx. You cron line will look like
(assuming you want to run the script every minute):
* * * * * lynx -dump http://www.yourdomain.com/path/to/your/script.php3
if the dir where the script
Regards,
Gianluca
-- ALBASOFTWARE C/ Aribau 70 - 5º 1ª 08011 Barcelona (Spain) Tel. +34 93454009 - +34 934549324 Fax. +34 934541979 @@ ICQ 47323154 @@ webmaster <email protected> http://www.albasoftware.com http://www.phpauction.org http://www.gianlucabaldo.com-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Matthew Lautz: "[PHP] MySQL and PHP"
- Previous message: Doug Semig: "Re: [PHP] A High Profile PHP Site"
- In reply to: Ralph Guzman: "[PHP] mySQL Query"
- Next in thread: Ralph Guzman: "[PHP] mySQL Query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

