Scheduler emails are sent at wrong time.

I’m using SuiteCRM 7.10.7 I have set a scheduler where I’m calculating no. of days between lead creation and today’s date.
According to those days, emails are sent to the lead. My scheduler is executing every 10 minutes.

For example, if no.of days are 2,4,8 etc. then send mail to lead.
Here days are calculated correctly but crontab running at midnight and email received at 08:0x AM.
User Timezone is set at Asia/Hong Kong (GMT+8:00).

I have read in previous topics that timezone works correctly only when it is UTC and not the GMT.
But in CRM user timezone have options in GMT formats only.

Did anyone face this kind of issue? Please share your comments.

Thanks in advance.

I am not sure this can be an issue, but maybe it’s better to check.

How is your “send nightly emails” scheduler job configured? When did it last run successfully?

The emails from the workflow might be going out from the email queue, which is handled by that job. But as I said, I am not sure, they could be getting sent directly.

You can also see how you Email Queue looks after midnight, and before 8:00 AM. Is the email sitting there? You can check this is Admin / Email Queue.

1 Like