예제 #1
0
파일: cron.py 프로젝트: VBelozyorov/libcms
 def do(self):
     models.send_letters()
     models.send_to_email()
예제 #2
0
 def do(self):
     models.send_letters()
     models.send_to_email()
예제 #3
0
 def handle(self, *args, **options):
     translation.activate(settings.LANGUAGE_CODE)
     now = datetime.now()
     models.send_to_email()
     models.clear_statuses()
     self.stdout.write(u"Emails was successfully sended at %s \n" % unicode(now))