updating mySQL database periodically

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
chris25886
Forum Newbie
Posts: 2
Joined: Sun Mar 02, 2003 6:34 pm

updating mySQL database periodically

Post 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.
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post 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:
Post Reply