app/soc/cron/job.py
changeset 2224 fc719e902a70
parent 2219 6f835882160e
child 2229 b36ecf371aef
--- a/app/soc/cron/job.py	Sat Apr 18 21:21:22 2009 +0000
+++ b/app/soc/cron/job.py	Sat Apr 18 21:22:43 2009 +0000
@@ -28,9 +28,9 @@
 from google.appengine.ext import db
 from google.appengine.runtime import DeadlineExceededError
 
+from soc.cron import student_proposal_mailer
 from soc.models.job import Job
 
-
 class Error(Exception):
   """Base class for all exceptions raised by this module.
   """
@@ -57,7 +57,10 @@
     """
 
     self.tasks = {}
-    self.tasks['sendAcceptanceEmail'] = logging.info
+    self.tasks['setupStudentProposalMailing'] = \
+        student_proposal_mailer.setupStudentProposalMailing
+    self.tasks['sendStudentProposalMail'] = \
+        student_proposal_mailer.sendStudentProposalMail
 
   def claimJob(self, job_key):
     """A transaction to claim a job.