Skip to content

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

Open
@rahulmr

Description

@rahulmr

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions