Subversion Repositories SmartDukaan

Rev

Rev 7609 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7609 Rev 11646
Line 12... Line 12...
12
    try:
12
    try:
13
        client = CatalogClient().get_client()
13
        client = CatalogClient().get_client()
14
        client.sendProductNotifications()
14
        client.sendProductNotifications()
15
        print "Product notifications sending completed"
15
        print "Product notifications sending completed"
16
    except:
16
    except:
17
        mail('cnc.center@shop2020.in', '5h0p2o2o', ['rajveer.singh@shop2020.in','amit.gupta@shop2020.in','rajneesh.arora@shop2020.in'], "Email Notifier Failed", "Email Notifier Failed", [], [], [])
17
        mail('cnc.center@shop2020.in', '5h0p2o2o', ['eng@shop2020.in'], "Email Notifier Failed", "Email Notifier Failed", [], [], [])
18
            
18
            
19
def main():
19
def main():
20
    notify()
20
    notify()
21
 
21
 
22
if __name__ == '__main__':
22
if __name__ == '__main__':