I have currently installed sendy email sending script on amazon ec2 instance on php version 7. The problem I am facing is that whenever we create a new campaign the new campaign it simply shows pending and does not progresses. To resolve it I have to reset the cron job and again add the cron job command in crontab files which makes the sendy send email but again it fails.
*5 * * * /php /var/www/html/schedular.php
The command is something like as shown above. What could be the reason for cronjob not working after every time I reset it . I am not getting any error messages in the log files. What could be the possi ble reason for this issue.