Forums / Developer / Problem Running Cron in Windows / Comment60484
Gaetano Giunta
Thursday 29 July 2010 2:17:42 am
You need to move to the ezpublis root directory before executing any script, including cronjobs:
C:
cd /Users/Fraser/UniServer/www/site
c:/php5/php.exe runcronjobs.php -d -s issat_site ezfindexcontent
you should be able to set the current dir in the plaified task properties, or just wrap the above lines in a batch file
Principal Consultant International Business Member of the Community Project Board