Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Send queued e-mail set for months into the future View modes: 
User avatar
Member
Member
robert-tailor.co - 9/3/2012 5:16:31 PM
   
Send queued e-mail set for months into the future
I've just deployed a new Kentico website. I couldn't understand why emails weren't being processed in the queue. I checked the 'Send queued e-mails' task in the list of Scheduled Tasks and noticed the 'Next Run' date was set for over 2 months into the future:

User image

Once I clicked to process the queue immediately, the queue processed normally, and has continued to do so ever since.

Is there a reason why Kentico automatically sets the e-mail queue processing to start 3 months in the future?

User avatar
Member
Member
kentico_michal - 9/4/2012 1:32:46 AM
   
RE:Send queued e-mail set for months into the future
Hi,

Could you please check if there are any scheduled task related logs in the Event log [Site manager -> Administation -> Event log]?

Also, is the scheduled task execution configured to be executed by Kentico CMS application or external Windows service?

By default, the application performs the check at the end of standard page requests. This means that tasks are executed only when user activity on your website is generating requests. Alternatively, the scheduler can be configured to process tasks regularly according to an automatic internal timer, regardless of website activity by adding the followig key to the web.config:

<add key="CMSUseAutomaticScheduler" value="true" />

Moreover, I would recommend that you check all settings mentioned in the following article:
Scheduler configuring tasks execution.

Best regards,
Michal Legen