Community

Cron problem with migration from Apache to IIS

Hello,
I am working on migrating a 6.x site from Apache to IIS. The migrated site looks correct and runs without errors except for cron. When it runs it takes me to a page with images of flowers from flikr:
https://lh6.googleusercontent.com/-nFJiRHJtxnM/URUtMuIq9dI/AAAAAAAAACU/8...

Here is some system information:
Sites are Drupal 6.x

Old server:
Windows Server 2008 Standard
WAMP with MySQL 5.1.36 and PHP 5.2.11

New server
Windows Server 2008 Web
IIS7 with MySQL 5.1.66 and PHP 5.3.19

Any suggestions would be appreciated. Thank you.

Comments

Are you running it

Are you running it manually?

How do you know it is working? Normally running cron manually in D6 gives a white page with no indication it has run. What does the Latest Log Messages say?

Yes, manually

I'm not sure if this is useful information, but I just restored the server to a previous VM snapshot. When I ran cron I received a ton of errors like this:
warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1816 in X:\inetpub\wwwroot\...\modules\search\search.module on line 334.

The last line was this:
The directory sites/default/files/imports is not writable

Cron last run time was down to 2 seconds so it must have run, but when I fixed made the folders writable those errors went away and I am back to the flower images.

Yes, manually

In answer to your questions:

My original server takes me to admin/reports/status after a manual chron.

That status page was showing cron last run 4+ days ago.

Logs show "Cron run exceeded the time limit and was aborted."

I updated php.ini to have "max_execution_time = 120" but it didn't matter. It takes me to the flower page without any pause.

Thank you for your help with this.

nobody click here