Stop running cron from build scripts

This commit is contained in:
Michael Snoyman 2016-12-06 09:50:13 -05:00
parent 8b77287ca6
commit b01d84974e
2 changed files with 0 additions and 13 deletions

View File

@ -132,11 +132,4 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "exec stackage-curator check-target-
# * Register as a new Hackage distro
docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "stackage-curator upload-docs --target $TARGET --bundle-file $BUNDLE_FILE && stackage-curator upload-index --plan-file $PLAN_FILE --target $TARGET && stackage-curator upload-github --plan-file $PLAN_FILE --docmap-file $DOCMAP_FILE --target $TARGET && exec stackage-curator hackage-distro --plan-file $PLAN_FILE --target $TARGET"
if [ $SHORTNAME = "lts" ]
then
echo "Running cron.sh (hiding verbose output)"
./cron.sh | grep -v '^Skipping'
echo "done."
fi
date

View File

@ -4,12 +4,6 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
while true; do
./build.sh nightly-$(date -u +%F)
if ! pgrep cron.sh >/dev/null; then
echo
echo "Running cron.sh in the background"
./cron.sh > cron.log 2>&1 &
fi
echo
date
sleep 30m