S is remote, that's why the web routethousand file do not edit it, what should I put in it? what is the API that?can be the problemSome hosts do not allow adding cron jobs, and instead only allow you to probe scripts located at a publicly accessible URL. In this case, you will schedule the task using your webhost’s scheduling interface and http://domain/path/to/osticket/api/cron.php.To prevent unauthorized execution of scripts from the outside, Settings => API has rules for allowing external access based on originating IP and an API “passphrase”, which is actually the User Agent string of the agent trying to access cron.php on your web server.
If the User Agent string is not changed to the API key, the request will be denied, email will not be polled, and API error - code #77: Unknown remote host 181.222.32.12 or invalid API key will appear in your system logs under the osTicket dashboard.If your host allows you to modify their schedulers User Agent string, then change that to the API key and add your webhost scheduler’s IP to Settings => API => API Keys.