Rushabh Mehta | 1a35574 | 2012-02-23 11:46:28 +0530 | [diff] [blame] | 1 | """will be called by scheduler""" |
2 | |||||
3 | import webnotes | ||||
4 | |||||
5 | def execute_all(): | ||||
6 | """get support email""" | ||||
7 | from support.doctype.support_ticket import get_support_mails | ||||
8 | get_support_mails() | ||||
9 | |||||
10 | def execute_daily(): | ||||
11 | """email digest""" | ||||
12 | from setup.doctype.email_digest.email_digest import send | ||||
13 | send() |