send confirmation mail when cron job finishes its work