Hi All,
I set up a cron job for email fetching with:
*/2 * * * * /usr/bin/php /var/www/osTicket/api/cron.php
.
This task runs fine but I get emailed this error:
PHP Warning: require(api.inc.php): failed to open stream: No such file or directory in /var/www/osTicket/api/cron.php on line 13
PHP Fatal error: require(): Failed opening required 'api.inc.php' (include_path='.:/usr/share/php') in /var/www/osTicket/api/cron.php on line 13
How do I resolve this please?
Below is the information of my installation.
osTicket Version v1.15.2 (cb6766e)
Web Server Software Apache/2.4.29 (Ubuntu)
MySQL Version 10.1.48
PHP Version 7.2.24-0ubuntu0.18.04.7