Maintenance job via http

Hi,

I’m using pimcore 6.8.x on a webhosting where crontabs are only via http/https possible, not shell script.

Is any one of you already running the maintenance job via a protected custom route?

How would you achieve that?

Thx & BR,
Alex

Hey Alex,

I had the same usecase and built a Bridge Controller that simply executes a CLI Command from a web request. Check out this gist, this is exactly what you need.
All you need to add is to configure HTTP Basic Auth usernames and password as parameters, and add a route.

1 Like

Thought about the same solution, but I was sure someone else had to deal with this problem before :smiley:

Thank you so much :slight_smile:

BR,
Alex