Hi, I just upgraded to the latest version v1.8.1.2 but the email cron no longer works.The server is Windows 2003 IIS 6.0 running fast cgi and PHP 5.3.28. When I run the cron through our windows task scheduler app it no longer works as it is looking for php5ts.dll and fails to run the cron so no emails are being delivered to the system. We cannot install PHP threadsafe as it is not a safe environment to do this being Windows/IIS.I am unable to run the alternative rcron.php as it looks for api/tasks/cron which doesn't exist as there is no URL rewrite running in IIS.Everything else works well, I just cannot get emails to download. The user activity email polling isn't an option due to the use of the system.Any help would be great.

Do you have more than one version of PHP installed?  The primary reason for cron failing is if PHP 5.3 isnt being used at command line.  You should check that first.  At command line type in php -v and see what version your running."I am unable to run the alternative rcron.php as it

looks for api/tasks/cron which doesn't exist as there is no URL rewrite

running in IIS."Thats not entirely true. There is no Microsoft IIS6 URL Rewrite Mod, but there are things like isapirewrite.  But unless your trying to call cron from outside your web server you do not need to use rcron.You should ultimately consult your PHP error logs and see if there are any errors being logged. They would be extremely helpful in tracking down why you cannot run cron.

Typing php -v generates the error: unable to locate component. php5ts.dll was not found.There used to be PHP 5.2 installed, we upgraded to php5.3 to handle the upgraded OSticket.

Sounds like you have a problem with your php installation then.https://bugs.php.net/bug.php?id=52705

Awesome!  I'mm close this as resolved then.  Please feel free to start a new thread if you have another comment/question/etc.

Write a Reply...