예제 #1
0
def process_notices():
    """Send out notifications such as round transition, commitment end,
    and process rsvp reminder and penalty."""
    smartgrid.notify_round_started()
    smartgrid.notify_commitment_end()
    smartgrid.process_rsvp()
    smartgrid.check_daily_submissions()
예제 #2
0
 def handle(self, *args, **options):
     """process daily notices"""
     print '****** Processing notices at %s *******' % datetime.datetime.today()
     smartgrid.notify_round_started()
     smartgrid.notify_commitment_end()
     smartgrid.process_rsvp()
     smartgrid.check_daily_submissions()
예제 #3
0
def process_rounds():
    """Send out notifications such as round transition."""
    print '****** Processing rounds at %s *******' % datetime.datetime.today()

    challenge_mgr.init()
    smartgrid.notify_round_started()
예제 #4
0
 def handle(self, *args, **options):
     """process daily notices"""
     print '****** Processing rounds at %s *******' % datetime.datetime.today()
     smartgrid.notify_round_started()