I'm having an incredibly difficult time getting cron jobs to work for OSTicket. Here is all the background info:
- We are running OSTicket on a CentOS 7 VM inhouse.
- Running OSTicket version 1.12.3
- PHP version 7.3.11
- Apache version 2.4.6
This is the cron job I've setup:
*/1 * * * * apache /usr/bin/php /var/www/html/osticket/api/cron.php
The job was created with the crontab -e command
Here is how I've setup OSTicket:
Under Email Settings 'Email Fetching' is Enabled, 'Fetch on auto-cron' is Disabled
The Default Email address has the 'Status' Enabled under 'Fetching Email via IMAP or POP'
NOTE:
- Auto-cron was thoroughly tested and working properly before we moved to disable it with the aim of using cron jobs on the server.
- crond is running (verified with sudo systemctl status crond)
We've sent a large number of test emails, but no fetching takes place.
Any help would be greatly appreciated.