My website is hosted on Amazon server, I have a PHP that sends emails to the user, What I did is setup a cron job
3 * * * * php LINK to Abc.php
SO that it would run after 3 minutes. BUt I am not receving any mail that shows the script is not running.
- I checked the logs that showed /var/syslog
CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete)
Over my head.
Then I tried this command to check the cron job crontab-l still nothing happend.
anyone who can help me in debugging
EDIT1 It says in log files now..
CRON) info (No MTA installed, discarding output)
If I do PHP Path to file from terminal.. it runs fine and I receive an email as well... Please help in this regard
MAILTO=in the crontab file? - user557846