Forums / Developer / Problem Running Cron in Windows / Comment60481
Fraser Hore
Thursday 29 July 2010 1:37:21 am
Hi Robin,
Thanks for the suggestions. The path to php is correct, and I haven't been able to get it to run from the command line either. When I try:
c:\users\Fraser\Uniserver\usr\local\php>php.exe C:\Users\Fraser\UniServer\www\site\runcronjobs.php -d -s issat_site ezfindexcontent
I get "Fatal error: require_once(): Failed openning required 'access.php' (include_path='.;C:\php5\pear') in C:\Users\Fraser\UniServer\www\site\kernal\classes\ezscript.php on line 72
When I run the batch file with the code I posted above, it seems to run the script but doesn't seem to find the ini files.
I've also tried using the UniServer portable cron feature with the following settings in cron.ini:
[ezfindexcontent] start = 2009-09-21 2:56:52 period = 600 ; 10 Mins path = ..\..\www\site\runcronjobs.php -s issat_site ezfindexcontent ref = From the log it seems to at least try to execute the path, but the index is still not generated.
Thanks for any further suggestions!