If you go to Admin Panel > Emails > Settings > Incoming Emails, right now (as of release 1.10.4—the latest stable release as of this writing), you’ll see something called Fetch on auto-cron, which isn’t super useful, because it will fetch emails only if an agent is logged into osTicket.
There is an external scheduler option. Unfortunately (again, as of 1.10.4), that Using External Task Scheduler link is broken. I believe it’s supposed to go to RECURRING TASKS SCHEDULER (CRON JOB).
There, you see on a *nix system, you’re supposed to put in a cron job of
I even tried changing the user to root instead of nobody (but if you create a cron job using
It didn’t work until I substituted in this line instead:
I had to leave out the user altogether. Also, again according to the Ubuntu community docs, you should be able to put an */# in front of the four asterisks to run it every # minutes, but I found the command executed properly if I just put a single number in there.
Any cron job experts out there who can explain this, I’d love to learn more of the nuances of how this all works (or doesn’t work)?
2 responses to “Getting osTicket to schedule ticket creation from emails”
This is exactly what I need to solve osTicket/cron issue in php 7 environment. Thanks!
Thanks for the article.
There is a tutorial at https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-osticket, may be help you set cron job.