Report Subscription Email for scheduled interval is not being sent

Namita Patil asked on December 23, 2020 00:34

Hi,

I am facing issue while sending the subscription report email for custom report for configured scheduled interval. I have added a functionality where I want to send a custom report for last week's data to the subscribed user weekly once, but somehow it only sends the subscription email first time that User is being subscribed for this report, but somehow the actual report email is not coming for configured schedule on our QA server. This functionality is working fine on my local machine but not on QA server. Clearly SMTP server is correctly configured, as I am getting all other emails. Looks like Scheduled task for "Report subscription sender" is working fine and it's configured to run every 1 minute, but it's Executions are not consistently increasing - as I am thinking that it should increment for every minute. I hope this shouldn't be the root cause of why Subscription report email is not getting sent. Can anyone please help me to resolve this issue?

Thanks!

Regards,

Namita Patil

Recent Answers


Daniel Merta answered on January 4, 2021 13:01 (last edited on January 4, 2021 13:02)

Hi Namita,

you mentioned that "executions are not consistently increasing" - the system uses the Report subscription sender scheduled task for sending subscription emails, so if it's not being triggered, those emails are not sent. You can read more about this in our documentation.

I assume there's no consistent/regular traffic in your QA server. Kentico uses the Request-based scheduler mode for executing scheduled tasks. Therefore, there must be requests performed on your website in order to trigger scheduled tasks. You can change the scheduler mode to Automatic, as is described on the linked page, or you can set up execution of scheduled tasks by the Windows service. This will ensure that scheduled tasks won't depend on requests.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.