themarshallproject / klaxon

Klaxon enables reporters and editors to monitor scores of sites on the web for newsworthy changes.
https://newsklaxon.org
MIT License
646 stars 199 forks source link

Scheduler environment for docker #516

Closed alfureu closed 8 months ago

alfureu commented 2 years ago

New user to Klaxon, and I am running it as a docker container. I understand that the scheduler should be set up to 10 minutes. At least this is what the documentation says if you deploy it through Heroku.

I do not use Heroku, is there a way how to set the scheduler manually? Would it be please possible to provide an environment for this setting?

EDIT: actually, it appears as if in the case of docker container there is no scheduler included. Could you provide a documentation how to do this?

alfureu commented 2 years ago

Actually, it is really easy to implement this, the crontab should be set to something like */10 * * * * /usr/local/bin/rake check:all inside of the docker container and that's it

Please make it possible to set this through an environment for dockers

tommeagher commented 8 months ago

Hi all. With the recent release of Klaxon Cloud, we're going back and revisiting old issues that we're not going to pursue or support as we consider any future development of the original standalone Klaxon. This one (almost 2 years old now) and others dealing with Docker fall in that bucket. Thanks for the contributions and discussions on this, but we'll close it as WONTFIX.