OctoPrint-GitFiles
OctoPrint-GitFiles copied to clipboard
Feature Request / Idea: Pulling the GitFiles repository in a certain interval
It would be nice if the configured repository clone would automatically update itself. Possibly in a certain interval or attached to the OctoPrint update-check schedule.
As a workaround solution I'm simply using a single cron job to pull the repository every 15 minutes.
If anyone is interested in using it (replace $GITFILES_DIR
with your absolute gitfiles repository path):
*/15 * * * * /usr/bin/git -C $GITFILES_DIR pull origin master >/dev/null 2>&1