Page 1 of 1

updating mySQL database periodically

Posted: Tue Mar 04, 2003 5:33 pm
by chris25886
For this particular project I have in mind, I need to have a program run every hour to update one of my databases. I can schedule a program to run every hour, but when I write a PHP program that updates my database it opens dreamweaver every hour instead of executing the script. how can i properly execute this script? thanks for your help.

Posted: Tue Mar 04, 2003 8:40 pm
by AVATAr
you are under windows (dreamwever stuff).. so you have to schedule something like: "c:\...\php.exe script.php"

if you schedule "script.php" dreamwever runs!!!

:wink: