I am trying to set up a cron.php file to run a database cleanup every hour. This is allowing me to have a demo site and reset the database back to the original every so often. how do i get the cron to run and how do i get it to set up
I make it a habit of not running Windows on my servers, but I'd imagine you could just setup a scheduled task (Programs -> Accessories -> System Tools -> Task Scheduler) then have it execute your program (e.g., "/path/to/php /path/to/script.php")
__________________
Chris Duerr
AddonChat Java Chat Software
addonchat is right. There is no cron program that you use on Windows like there is on Linux. If you want to perform something at a certain time or interval, you set up a scheduled task. See this site for a tutorial.
__________________
Please login or register to view this content. Registration is FREE - Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
« Reply to Cron for a windows server running apache