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

Q: Cron job to pull or fetch repo every 1 minute #293

Open
rahulmr opened this issue Jan 10, 2024 · 0 comments
Open

Q: Cron job to pull or fetch repo every 1 minute #293

rahulmr opened this issue Jan 10, 2024 · 0 comments

Comments

@rahulmr
Copy link

rahulmr commented Jan 10, 2024

Could you please suggest any better method(s) for doing git pull or git fetch every 1 minute or when new changes are there in the repo main branch branch?

I tried setting cron job inside the container but it did not work from inside container.

I had to setup cron job on server like below

* * * * * docker exec <container_name> git pull

Please do suggest any better options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant