eliashaeussler / cache-warmup

🔥 PHP library to warm up caches of URLs located in XML sitemaps
https://cache-warmup.dev/
GNU General Public License v3.0
51 stars 10 forks source link

[FEATURE] run forever option #138

Closed danielslyman closed 1 year ago

danielslyman commented 1 year ago

Is your feature request related to a problem?

I would like to have the option to have the docker container run forever and periodically execute.

https://github.com/Pixep/crowlet

This is another cache-warmer which I tried, I much prefer yours. I set at cronjob for now, but I feel like a "forever" option would be more elegant.

Thanks! Daniel

Describe the solution you'd like

I would love something like this:

docker run --rm -it eliashaeussler/cache-warmup:latest 'https://website.com/cache.xml' '--verbose' '--allow-failures' '-p' '--forever' '--wait-interval 1800'

Describe alternatives you've considered

https://github.com/Pixep/crowlet

Additional context

No response

eliashaeussler commented 1 year ago

Hi @danielslyman, thanks for your feature request. This sounds like a good idea. I will have a look at it.

danielslyman commented 1 year ago

Thanks, much appreciated!

eliashaeussler commented 1 year ago

Hi @danielslyman, this feature will be part of the 2.0.0 release. See #208 for more details.

eliashaeussler commented 1 year ago

@danielslyman The 2.0.0 release is out now. Have fun with it 🚀

danielslyman commented 1 year ago

Thanks a lot! This amazing :)