     
 testForLockManager = -> unless lockManager then throw "The system isn't configured to do distributed locking!"
   
-### Candidate Update Reminder Task ###
+### Approved Candidate Update Reminder Task ###
 
 candidateUpdateProfileTask = ->
   mailTaskName = "candidateUpdateProfileTask"

mail = require '../commons/mail'
MailSent = require '../mail/sent/MailSent'
User = require '../users/User'
async = require 'async'
errors = require '../commons/errors'

    ,
      taskFunction: employerNewCandidatesAvailableTask
      frequencyMs: 10 * 60 * 1000 #10 minutes
    ,
      taskFunction: unapprovedCandidateFinishProfileTask
      frequencyMs: 10 * 60 * 1000
  ]

  for mailTask in mailTasks
