A
Anonymous
Guest
Hi there,
we're running Windows SBS 2008 with IIS7. Our main homepage is a Drupal site. Drupal has a cronjob, which we used to run via Scheduled Tasks with a .bat file.
The .bat file runs the following:
This worked fine for some time, but now there's a problem. Scheduled Task is still executed at the right time. But the cron.php seems not to run correctly. After some testing, I figured out that include() or require() seems to be the problem. If ran via HTTP no problem, but running in cmd-line the script is stopping when it should include another file. Error log is not reporting anything at all on this... and Google search isn't helpful this time.
Maybe I don't see the wood for the trees, but can someone help me or give a hint?
Regards, nanocyte
we're running Windows SBS 2008 with IIS7. Our main homepage is a Drupal site. Drupal has a cronjob, which we used to run via Scheduled Tasks with a .bat file.
The .bat file runs the following:
Code:
C:\PHP\php.exe C:\inetpub\wwwroot\cron.php
This worked fine for some time, but now there's a problem. Scheduled Task is still executed at the right time. But the cron.php seems not to run correctly. After some testing, I figured out that include() or require() seems to be the problem. If ran via HTTP no problem, but running in cmd-line the script is stopping when it should include another file. Error log is not reporting anything at all on this... and Google search isn't helpful this time.
Maybe I don't see the wood for the trees, but can someone help me or give a hint?
Regards, nanocyte