I have added a cron job that runs every minute to access a URL. The Log shows as successful yet the database changes are not being made and emails are not being sent so I know it is not working. Accessing this URL from my web browser works just fine. What can I check? Is there a way to see the output generated when the URL is accessed by the cron job?
Instead of using the domain in the URL like https://domainname/page.php
should I try to use http://localhost/domainname/page.php
for example? If so what would the path be as I cannot get that to work either.
On my aaPanel ubuntu server I cannot browse to https://domainname
due to DNS returning our WAN ip so perhaps this is the root cause.
Log file:
★[2024-06-08 14:52:21] Successful