Hi,
I have a corn.php file that runs automatically every day and one of the functions is to send an e-mail to certain users.
The problem is that the e-mails are being sent twice. I can't find anything wrong with the cron file, but checking the access_log.processed file of the server I found two entries with the cron file runnig at practically the same time:
1)..."HEAD /x/cron.php..."
2)..."GET /x/cron.php..."
I don't know much about apache but I think the problem might be that the HEAD method is also sending e-mails when it runs the file, so my questin is: ¿Can the HEAD method run the php file to send emails?
Thank you