Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 4
0
 def handle(self, *args, **options):
     """process daily notices"""
     print '****** Processing rounds at %s *******' % datetime.datetime.today()
     smartgrid.notify_round_started()