Do you have troubles polling IMAP or POP via cron.php job? I have a solution. Here is a simple solution that will help you solve the problem with cron.php
1. go into /api/ and copy cron.php to some random filename like xfgjkdscron.php
2. now edit xfgjkdscron.php and comment lines:
//if (!osTicket::is_cli())
//die(__(‘cron.php only supports local cron calls – use http -> api/tasks/cron’));
3. Create a cronjob on an external server like this:
A) Issue crontab -e at command line and add below command to it
*/1 * * * * wget -qO- –user-agent=<API KEY FROM osticket here> https://www.example.com/api/xfgjkdscron.php &> /dev/null