CRON job for regular email pulling #49
fahrenberger
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am fairly new to containers, but this is a sleek and elegant way to set up such a lightweight server, so I went for it. I got everything running smoothly, but: To be able to fetch eMails with osTicket regularly, you can either do an in-app schedule (not recommended, since it only works when an agent is logged in) or trigger it regularly via an external CRON job.
So, here's my question: On the server, how would I call the internal PHP-FPM executable from within a CRON job? Because I would need to run the
data/api/cron.php
job regularly, and I don't know how to do that within the pre-built container image. Can somebody give me a hint?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions