def handle(self, *args, **options):
     """process daily notices"""
     print "****** Processing notices at %s *******" % datetime.datetime.today()
     smartgrid.notify_commitment_end()
     smartgrid.process_rsvp()
     smartgrid.check_daily_submissions()
     badges.award_possible_daily_badges()
Пример #2
0
 def handle(self, *args, **options):
     """process daily notices"""
     print '****** Processing notices at %s *******' % datetime.datetime.today(
     )
     smartgrid.notify_commitment_end()
     smartgrid.process_rsvp()
     smartgrid.check_daily_submissions()
     badges.award_possible_daily_badges()
Пример #3
0
def process_notices():
    """Send out notifications such as commitment end,
    and process rsvp reminder and penalty."""
    print '****** Processing notices at %s *******' % datetime.datetime.today()

    challenge_mgr.init()
    smartgrid.notify_commitment_end()
    smartgrid.process_rsvp()
    smartgrid.check_daily_submissions()
    badges.award_possible_daily_badges()
Пример #4
0
 def handle(self, *args, **options):
     """Update the energy usage for all teams."""
     date = datetime.datetime.today()
     print '****** Processing award daily badges at %s *******\n' % date
     badges.award_possible_daily_badges()
Пример #5
0
 def handle(self, *args, **options):
     """Update the energy usage for all teams."""
     date = datetime.datetime.today()
     print "****** Processing award daily badges at %s *******\n" % date
     badges.award_possible_daily_badges()