Hi,
I've been trying to get the Fetch email to work using my hosting company planner, when i run the script using 'php -f' it works fine and i can receive emails/tickets.
This is the error i get from the task planner:
cron.php only supports local cron calls - use http -> api/tasks/cron
I created a folder called /tasks/cron and copied over cron.php to that folder and added the task planner to point to this:
https://mydomain.com/api/tasks/cron/cron.php
Running it this way gives me this error:
api.cron.php cannot be found.
I copied api.cron.php to api/tasks/cron and i get the error:
System Error (which is the error message in the php file if main.inc.php is missing)
I edited api.cron.php and added the full path to main.inc.php instead of ../main.inc.php.
Doing this gave me the same original message:
cron.php only supports local cron calls - use http -> api/tasks/cron
How can i fix this?