コード例 #1
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()
コード例 #2
0
ファイル: tasks.py プロジェクト: gregorylburgess/makahiki
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()
コード例 #3
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()
コード例 #4
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()
コード例 #5
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()