Skip to content

Instantly share code, notes, and snippets.

@cwfl
cwfl / gitpoller.sh
Created July 17, 2014 22:15
This scripts clones and periodically updates a remote Git repository.
#!/bin/bash -l
# Copyright 2014 Ole Weidner (ole.weidner@codewerft.net)
# Licensed under the MIT License
# -----------------------------------------------------------------------------
# Global variables.
#
UPDATE_INTERVAL=300
BUILD_COMMAND="true"