#!/bin/sh # stop on error set -e if [ "$BUILDFREQ" == "" ]; then # set default BUILDFREQ=10 fi # Run the pull script regularly echo "$BUILDFREQ * * * * /aux/pull-n-build.sh" >> /var/spool/cron/crontabs/root # start cron daemon (goes into background) crond