PHP Cronjob在Windows 7中

Hye alls.. this is my code that cronjob will do..

$query = "UPDATE program SET status_penilaian = 1  WHERE tarikh_buka = CURDATE()";
$hasil = mysql_query($query);

question is.. how to setting to cronjob this php file in task schedule?

i'm using PHP Version 5.2.8

Did you do your own research?

You can do this straight in MySQL by creating an event

OR

Use PyCron, there has been some good success using this in Windows

OR

The first listing in google came up with this:

http://lists.mysql.com/eventum-users/1342

  1. Use Windows Schedule Task. (not that good)

  2. Use a web based service: a. http://www.cronjobs.org (ok but anything above 13 minutes and you have to pay - very small amounts but it does work)

        b. http://www.webcron.org (ok but limited to running cron jobs at hourly intervals as the minimum)
    
  3. Visualcron (http://www.visualcron.com/) GUI windows app - ok but I found it difficult to get it work properly. Support non-existent - never received emails to my queries. You may have better luck.

  4. CRONw - (http://cronw.sourceforge.net/ & http://sourceforge.net/projects/cronw/) Excellent - works and is configured like a cron job on Unix. No Windows installer yet but will be released in v2.1. Requires PERL to be installed (recommend ActiveStates Perl install).