Q: Cron job to pull or fetch repo every 1 minute #293
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ric/nginx-php-fpm#293
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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 pullPlease do suggest any better options.