mahendra commented on issue #5294: Scheduled email reports for Slices / 
Dashboards
URL: 
https://github.com/apache/incubator-superset/pull/5294#issuecomment-413632438
 
 
   @nik-crisp - here is what I would do for debugging.
   
   1) Check if your superset email configuration is working.
   
   ```python
   # superset shell
   >>> from superset.utils import send_email_smtp
   >>> from superset import app
   >>> send_email_smtp('[email protected]', 'Hello', '<b>Test content</b>', 
app.config)
   ```
   
   This should verify that your email configuration is working. Once that is 
verified, please try it on celery as follows
   1) start celery with `-l DEBUG` to see debug logs
   2) Ensure that you are start celery with the beat option `-B` option or 
starting a separate Beat worker with `-l DEBUG`.
   
   Check that 
   1) beat job is getting scheduled
   2) The time stamp for when the job is getting scheduled
   3) error messages when the job runs or tries to send an email
   
   Are you running on OSX. What is the timezone on your box? I am seeing a 
weird issue with celery and UTC timezones on OSX. Working on a fix.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to