2
I set up a cron on my server to run a php script.
inside the crontab ran the line :
curl http://localhost/atualizacoes/check-atualizacoes.php
It ran perfectly, but inside this php I have an if that calls an external page, that sends an email, I tried using header, iframe and I could not make it run this second page.
If I run the page manually in my browser works normally, someone can tell me what I need to do?