Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up a cron job to regularly process osTicket's background jobs #6

Open
GabrielMajeri opened this issue Nov 10, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@GabrielMajeri
Copy link
Member

Due to the way PHP works, osTicket cannot regularly run background jobs at a specified time interval unless there is some HTTP request happening in this time period.

One solution described in the official documentation is to set up a cron job to regularly poll the /api/cron.php route, which will take care of processing the background tasks.

Since we package up and deploy our osTicket instances as Docker containers, it shouldn't be very hard to modify the Docker images and set up this functionality.

@GabrielMajeri GabrielMajeri added the enhancement New feature or request label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant