I am creating cron jobs where a user will receive an email and sms notification and when I run the loop in email it works fine. But for the sms it does not. Only first row i